CrazyWolf
New Member
- Reaction score
- 4
Hi everyone.
I made a spell using help from Aceheart and Doom-angel.
Although the spell works, after testing the map i realized that the custom scripts i have been given caused server splits on multiplayer.
After searching i found this.
That explained a lot but the problem is that i have never before handled an advanced fade filter so if someone can help me either by replacing my fade filter with an advanced one or giving another custom script i would be thankful.Here is the trigger.
P.S.I DONT BLAME ACEHEART OR DOOM-ANGEL FOR THIS PROBLEM.They helped me a lot and i thank them for that.
I made a spell using help from Aceheart and Doom-angel.
Although the spell works, after testing the map i realized that the custom scripts i have been given caused server splits on multiplayer.
After searching i found this.
That explained a lot but the problem is that i have never before handled an advanced fade filter so if someone can help me either by replacing my fade filter with an advanced one or giving another custom script i would be thankful.Here is the trigger.
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 (Actions)
Loop - Actions
Custom script: if (GetLocalPlayer() == GetEnumPlayer()) then
Cinematic - Fade out over 0.50 seconds using texture Black Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
Custom script: endif
Wait (2.00 x (Real((Level of Absolute Darkness for (Casting unit))))) seconds
Player Group - Pick every player in AbsoluteDarknessGroup and do (Actions)
Loop - Actions
Custom script: if (GetLocalPlayer() == GetEnumPlayer()) then
Cinematic - Fade in over 0.50 seconds using texture Black Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
Custom script: endif
P.S.I DONT BLAME ACEHEART OR DOOM-ANGEL FOR THIS PROBLEM.They helped me a lot and i thank them for that.