Printable Version of Topic

Click here to view this topic in its original format

Armed Assault Info Forums _ Mission Editing & Scripting _ Global variable

Posted by: Dollor Sep 7 2011, 12:26

CODE
(m1 distance _unit < 5)

Friends help please, is there a way to replace the m1 to the global variable type m1-100.

Not to write

CODE
? (m1 distance _unit < 5) : Goto "pffa1"
? (m2 distance _unit < 5) : Goto "pffa2"
? (m3 distance _unit < 5) : Goto "pffa3"
? (m4 distance _unit < 5) : Goto "pffa4"
? (m5 distance _unit < 5) : Goto "pffa5"


Simplify

Explain, want to make it possible to take any soldiers for their part in the squad, without creating a huge year. nuke.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)