Setarray: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
As with my gamearray explanation, this is only intended to be a stop-gap measure.
 
mNo edit summary
Line 1: Line 1:
setarray <array>[<index>] <gamevar>
setarray <array>[<index>] <gamevar>


Sets <gamevar> to the value of <index> in <array>.
Sets <gamevar> to the value of <index> in <array>. This is the only way to modify an array.

Revision as of 16:15, 11 May 2008

setarray <array>[<index>] <gamevar>

Sets <gamevar> to the value of <index> in <array>. This is the only way to modify an array.