- Joined
- Feb 22, 2006
- Messages
- 960
So i tried to built a wow like fear spell.
It has 3 triggers .
1. trigger to start the ability (first fear)
It has 3 triggers .
1. trigger to start the ability (first fear)
-
fear
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Fear
-
-
Actions
-
Unit - Remove Psychic Scream buff from (Target unit of ability being cast)
-
Unit - Remove Intimidating Shout buff from (Target unit of ability being cast)
-
Set TempInt = (Player number of (Owner of (Target unit of ability being cast)))
-
Set fearpoint[TempInt] = ((Position of (Target unit of ability being cast)) offset by 150.00 towards (Random real number between 0.00 and 360.00) degrees)
-
Selection - Clear selection for (Owner of (Target unit of ability being cast))
-
Unit - Order (Target unit of ability being cast) to move to fearpoint[TempInt]
-
-
-
fear duration
-
Events
-
Time - Every 0.50 seconds of game time
-
-
Conditions
-
Actions
-
Set fear_group = (Units in (Playable map area))
-
Unit Group - Pick every unit in fear_group and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If -Conditions
-
((Picked unit) has buff Fear ) Equal to True
-
-
Then -Actions
-
Set TempInt = (Player number of (Owner of (Picked unit)))
-
Set fearpoint[TempInt] = ((Position of (Picked unit)) offset by 150.00 towards (Random real number between 0.00 and 360.00) degrees)
-
Selection - Remove (Picked unit) from selection for (Owner of (Picked unit))
-
Unit - Order (Picked unit) to move to fearpoint[TempInt]
-
-
Else -Actions
-
-
-
-
Custom script: call DestroyGroup(udg_fear_group)
-
-
-
fear selection
-
Events
-
Player - Player 1 selects a unit
-
Player - Player 2 selects a unit
-
Player - Player 3 selects a unit
-
Player - Player 4 selects a unit
-
Player - Player 5 selects a unit
-
Player - Player 6 selects a unit
-
Player - Player 7 selects a unit
-
Player - Player 8 selects a unit
-
Player - Player 9 selects a unit
-
Player - Player 10selects a unit
-
-
Conditions
-
((Triggering unit) has buff Fear ) Equal to True
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Triggering unit)) Equal to (Triggering player)
-
-
Then - Actions
-
Selection - Remove (Triggering unit) from selection for (Triggering player)
-
-
Else - Actions
-
-
-