Quick Question

Status
Not open for further replies.
Hello. I've got a question about
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
If not, how should I do it?


EDIT: I missed this thread: Locally hiding units, let's continue the discussion there.
 
Status
Not open for further replies.
Top