[Solved] Create unity visible only for a player

Status
Not open for further replies.
From GetLocalPlayer FAQ:
6. Unit color, transparancy, size/scale for 1 player only?

Question - this cause desyncronization?
Answer - No - tested myself

  • Test 1
    • Events
      • Player - Player 1 (Red) types a chat message containing test as An exact match
    • Conditions
    • Actions
      • Set Player = (Triggering player)
      • Set Unit = Peasant 0000 <gen>
      • Set Alpha = 100
      • Custom script: if GetLocalPlayer() == udg_Player then
        • Set Alpha = 0
      • Custom script: endif
      • Animation - Change Unit's vertex coloring to (100%, 100%, 100%) with Alpha transparency
 
Status
Not open for further replies.
Back
Top