Setarraysequence: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Added documentation for this command, hope I understood it correctly
 
mNo edit summary
Line 3: Line 3:
Starting from index 0, initializes an array using the provided gamevars and constant values in sequence. Note that this implictly resizes the defined array to fit exactly the number of provided arguments.
Starting from index 0, initializes an array using the provided gamevars and constant values in sequence. Note that this implictly resizes the defined array to fit exactly the number of provided arguments.


This command takes a variable number of arguments, the maximum being 32.
This command takes a variable number of arguments, up to a maximum of 32.


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Gamearray manipulation]]
[[Category:Gamearray manipulation]]

Revision as of 05:36, 11 February 2020

setarraysequence <gamearray> <gamevar | constant> {<gamevar | constant>}*

Starting from index 0, initializes an array using the provided gamevars and constant values in sequence. Note that this implictly resizes the defined array to fit exactly the number of provided arguments.

This command takes a variable number of arguments, up to a maximum of 32.