Private Joined: 9/2/2014(UTC) Posts: 16 Thanks: 1 times
|
the qeustion is in the topic.. i made defensive buildings in my map, and i want this objects to belong to the player that is near them... please help me.
|
|
|
|
Colonel Joined: 8/13/2013(UTC) Posts: 817 Location: Middle east Thanks: 430 times Was thanked: 184 time(s) in 168 post(s)
|
Removed Edited by user Tuesday, September 2, 2014 12:07:05 PM(UTC)
| Reason: You know the reason |
Proud Muslim
UTD^Force
Moderator and former map reviewer CnC Labs |
|
|
|
Private Joined: 9/2/2014(UTC) Posts: 16 Thanks: 1 times
|
i understand... but i dont have players... this is my scripts(not working): *** IF *** Player '<This Player>' starting position is 1 . *AND* Player '<This Player>' is Faction Name: "___"(there is a script like this for every faction) *** THEN *** Unit '1' is transferred to the command of Player '<This Player>' Unit '2' is transferred to the command of Player '<This Player>' Unit '3' is transferred to the command of Player '<This Player>' Unit '4' is transferred to the command of Player '<This Player>' Unit '5' is transferred to the command of Player '<This Player>' Unit '6' is transferred to the command of Player '<This Player>' Unit '7' is transferred to the command of Player '<This Player>' Unit '8' is transferred to the command of Player '<This Player>' Unit '9' is transferred to the command of Player '<This Player>' Unit '10' is transferred to the command of Player '<This Player>' Unit '11' is transferred to the command of Player '<This Player>' Unit '12' is transferred to the command of Player '<This Player>' Unit '13' is transferred to the command of Player '<This Player>' Unit '14' is transferred to the command of Player '<This Player>' Unit '15' is transferred to the command of Player '<This Player>' Unit '16' is transferred to the command of Player '<This Player>' Unit '17' is transferred to the command of Player '<This Player>' Unit '18' is transferred to the command of Player '<This Player>' Unit '19' is transferred to the command of Player '<This Player>' Unit '20' is transferred to the command of Player '<This Player>' Unit '21' is transferred to the command of Player '<This Player>' Unit '22' is transferred to the command of Player '<This Player>' Unit '23' is transferred to the command of Player '<This Player>' Unit '24' is transferred to the command of Player '<This Player>' Unit '25' is transferred to the command of Player '<This Player>' Unit '26' is transferred to the command of Player '<This Player>' Unit '27' is transferred to the command of Player '<This Player>' Unit '28' is transferred to the command of Player '<This Player>' Unit '29' is transferred to the command of Player '<This Player>' Unit '30' is transferred to the command of Player '<This Player>' Unit '31' is transferred to the command of Player '<This Player>' Unit '32' is transferred to the command of Player '<This Player>' Unit '33' is transferred to the command of Player '<This Player>' Unit '34' is transferred to the command of Player '<This Player>' Unit '35' is transferred to the command of Player '<This Player>' Unit '36' is transferred to the command of Player '<This Player>'
|
|
|
|
General Joined: 5/13/2013(UTC) Posts: 1,537 Location: Right Behind You Thanks: 574 times Was thanked: 166 time(s) in 144 post(s)
|
Try switching out '<This Player>' for 'player0', 'player1', 'player2', etc.
player0 is actually Player 1, player1 is actually Player 2, and so on. |
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there. |
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.