- Joined
- Aug 16, 2007
- Messages
- 884
Hello. I've got a question about
Will this trigger create one unit for each player and only show the unit for the player and hide it for all other players?
EDIT: I missed this thread: Locally hiding units, let's continue the discussion there.
JASS:
GetLocalPlayer()
Will this trigger create one unit for each player and only show the unit for the player and hide it for all other players?
-
Test123
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
For each (Integer i) from 1 to 12, do (Actions)
-
Loop - Actions
-
Set p = (Player(i))
-
Unit - Create 1 Footman for p at (Center of (Playable map area)) facing 90.00 degrees
-
Unit - Hide (Last created unit)
-
Custom script: if udg_p == GetLocalPlayer() then
-
Unit - Unhide (Last created unit)
-
Custom script: endif
-
-
-
-
EDIT: I missed this thread: Locally hiding units, let's continue the discussion there.