IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
 
Reply to this topicStart new topic
> Global variable
Dollor
post Sep 7 2011, 12:26
Post #1


New Member
*

Group: Members
Posts: 4
Joined: 20-August 11
From: The Russian City Of Yekaterinburg.
Member No.: 9,180



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

This post has been edited by Dollor: Sep 7 2011, 13:57
 
Quote Post

Fast ReplyReply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 24th January 2018 - 09:50