Gamearray: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
 
Line 1: Line 1:
'''gamearray''' <name> <size>
#REDIRECT [[:Category:Gamearray manipulation]]


A gamearray is a [[Scripting|CON]] version of the [[Wikipedia:Array|array data type]] common in programming languages. The size parameter specifies how many values the array holds. Values in the array are accessed as <name>[<index>] with any command that reads from [[gamevar]]s. However, as of the May 16, 2008 snapshot, some commands may crash when used with a gamearray, so to be safe, use [[setvarvar]] to copy the value to a [[gamevar]].  Values can only be set with [[setarray]].
[[Category:EDuke32 specific commands]]
[[Category:Gamearray manipulation]]

Latest revision as of 20:35, 2 December 2012