CrazyWolf
New Member
- Reaction score
- 4
Hi everyone
What i want to do is all players except the owner of the unit that casts absolute darkness,my spell,to see black masks on their screen.I ve tried this but black mask would appear even in the owner of the casting unit.I need some help.How can i do it?
Thnx for the help.
What i want to do is all players except the owner of the unit that casts absolute darkness,my spell,to see black masks on their screen.I ve tried this but black mask would appear even in the owner of the casting unit.I need some help.How can i do it?
Code:
Absolute Darkness
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Absolute Darkness
Actions
Set AbsoluteDarknessGroup = (All players matching ((Matching player) Not equal to (Owner of (Casting unit))))
Player Group - Pick every player in AbsoluteDarknessGroup and do (Cinematic - Fade out over 0.50 seconds using texture Black Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency)
Wait (2.00 x (Real((Level of Absolute Darkness for (Casting unit))))) seconds
Player Group - Pick every player in AbsoluteDarknessGroup and do (Cinematic - Fade in over 0.50 seconds using texture Black Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency)
Thnx for the help.