Template:Gamearray flags: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 6: Line 6:
| <font color="gray">Internal</font> || <font color="gray">8</font> || <font color="gray">GAMEARRAY_RESET</font> ||  
| <font color="gray">Internal</font> || <font color="gray">8</font> || <font color="gray">GAMEARRAY_RESET</font> ||  
|-
|-
| Yes || 16 || GAMEARRAY_RESTORE || If set, the state of the array will be written/read to/from the saved mapstate when using the command [[savemapstate]]/[[loadmapstate]]. <br>Has no effect on savegames -- arrays will always be restored to the state they were in when the game was saved.
| Yes || 16 || GAMEARRAY_RESTORE || If set, the state of the array will be written to/read from the saved mapstate when using the command [[savemapstate]]/[[loadmapstate]]. <br>Has no effect on savegames -- arrays will always be restored to the state they were in when the game was saved.
|-
|-
| No || 32 || GAMEARRAY_VARSIZE ||  
| No || 32 || GAMEARRAY_VARSIZE ||  

Latest revision as of 12:48, 10 September 2025

This page is a template.
This page was created to be included in other pages.


Exposed Value Label Description
Internal 8 GAMEARRAY_RESET
Yes 16 GAMEARRAY_RESTORE If set, the state of the array will be written to/read from the saved mapstate when using the command savemapstate/loadmapstate.
Has no effect on savegames -- arrays will always be restored to the state they were in when the game was saved.
No 32 GAMEARRAY_VARSIZE
No 256 GAMEARRAY_STRIDE2
No 512 GAMEARRAY_ALLOCATED
No 2048 GAMEARRAY_SYSTEM
Internal 4096 GAMEARRAY_READONLY
Yes 16384 GAMEARRAY_INT16 Values range from -32768 to 32767
Yes 32768 GAMEARRAY_INT8 Values range from -128 to 127
No 65536 GAMEARRAY_UNSIGNED
Yes 16384 + 65536 GAMEARRAY_UINT16 Values range from 0 to 65536
Yes 32768 + 65536 GAMEARRAY_UINT8 Values range from 0 to 255
Yes 1048576 GAMEARRAY_BOOLEAN Values are 0 or 1.
Internal 2097152 GAMEARRAY_WARN