@ 0 neil
yeah dats da syntax or u can make it shorter (remove da not nd add change da 15 2 5) like dat
"alive _X" count [h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h13,12,h14,h15,h16] < 2
;D
@ giant
ma eng is notgood enough 2 write TUTs
so u beter get uself som LCDish dicionary (just send me 50$ nd ill send u a copy ;D
)
da _X function is a way2 do action (or condition) on array
4 example
"_X moveincargo truck" foreach [dumb,dumber,dumbest,grinning,giant]
wil tell all da units in da array (after da foreach) 2 move in da cargo of da truck
or it can b used as condition
4 example
"(vehicle _X)==_X" count [dumb,dumber,dumbest,grinning,giant] == 4
will wait til da condition is true for 4 of da units in da array above
nd u can use da foreach command 4 if...then syntax
4 example
"if (_X in array) then {array=array-[_X]}" foreach [dumb,dumber,dumbest,grinning,giant]
so it wil check 4 each 1 of da units nd if da unit it checks is in da array it wil remove it ;D
LCD OUT