Setarraysequence: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
Added short form
Line 1: Line 1:
'''setarraysequence''' <[[gamearray]]> <[[gamevar]] | constant> {<[[gamevar]] | constant>}*
'''setarraysequence''' <[[gamearray]]> <[[gamevar]] | constant> {<[[gamevar]] | constant>}*
Equivalent: '''setarrayseq''' <[[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.
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.

Revision as of 06:41, 11 February 2020

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

Equivalent: setarrayseq <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.