- Joined
- Oct 10, 2009
- Messages
- 439
Alrighty, At the moment I have an integer for the players number that the timer is ending for.
And seeing as its a timer, the GetLocalPlayer would not work. And So, Im wondering is there a way for GLP to work for the destinated player integer?
Also, I wish to have it run for a player group, so that it does not end the mask for everyone else when they run the preliminary trigger, should it look like this:
And seeing as its a timer, the GetLocalPlayer would not work. And So, Im wondering is there a way for GLP to work for the destinated player integer?
Also, I wish to have it run for a player group, so that it does not end the mask for everyone else when they run the preliminary trigger, should it look like this:
-
Player Group - Add owner of triggering unit to TempForce
-
Set AlphaReal = 100
-
Custom Script: if (IsPlayerInForce(GetLocalPlayer(), udg_TempForce))
-
Set AlphaReal = 0
-
Custom Script: Endif
-
Environment - set fog with colors (AlphaReal) (AlphaReal (AlphaReal)