User Tools

Site Tools


prpl:setstruc

<- PRPL reference <- SECTION

SetStruc

ArgumentsResultNotation
X Y Enemy Type Built [ int int bool int bool - ]

Description

Sets the Struc state at a given cell. Note that the states for red and blue Struc are independent.

Type: 0 = None; 1 = Normal; 2 = Armour

Enemy defines colour, built defines the build state. Currently there is no known method exposed for the health of armoured Struc. FIXME - Does Built = 2,3,4,… affect the health of the armoured Struc.

Examples

50 50 0 2 1 SetSetuc #Create some built blue armoured Struc at position (50,50)
prpl/setstruc.txt · Last modified: 2017/04/11 21:40 by GoodMorning