- Joined
- Mar 27, 2008
- Messages
- 8,035
Can someone tell me WHAT determines the FIRST caster of the ability
So, my question is WHAT will determine which unit is the first to cast the ability ? (well, this question is for non-MUI trigger)
For the following trigger, it is not MUI
Can someone help me to make it MUI and if you can, please explain this and that and maybe tips to help me and also, others, hope so
Please update the test map and post it in your reply so I/we can download it and test it
+rep is all I can give =D
-
Init
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Unit - Order Blood Mage 0000 <gen> to Night Elf Druid Of The Claw - Roar
-
Unit - Order Blood Mage 0052 <gen> to Night Elf Druid Of The Claw - Roar
-
-
So, my question is WHAT will determine which unit is the first to cast the ability ? (well, this question is for non-MUI trigger)
For the following trigger, it is not MUI
Can someone help me to make it MUI and if you can, please explain this and that and maybe tips to help me and also, others, hope so
-
Plasma Gravity Start
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Plasma Gravity
-
-
Actions
-
Set Caster = (Triggering unit)
-
Set CasterLoc = (Position of Caster)
-
Set Duration = 3.00
-
Set AOE = (Units within 1000.00 of CasterLoc matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True)))
-
Unit Group - Pick every unit in AOE and do (Actions)
-
Loop - Actions
-
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
-
-
-
Custom script: call DestroyGroup(udg_AOE)
-
Trigger - Turn on Plasma Gravity Loop <gen>
-
-
-
Plasma Gravity Loop
-
Events
-
Time - Every 0.03 seconds of game time
-
-
Conditions
-
Actions
-
Set Duration = (Duration - 0.03)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Duration Greater than 0.00
-
-
Then - Actions
-
Set AOE = (Units within 1000.00 of CasterLoc matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True)))
-
Unit Group - Pick every unit in AOE and do (Actions)
-
Loop - Actions
-
Set PickedUnit = (Picked unit)
-
Set PickedUnitLoc = (Position of PickedUnit)
-
Unit - Move PickedUnit instantly to (PickedUnitLoc offset by 10.00 towards (Angle from CasterLoc to PickedUnitLoc) degrees)
-
-
-
Custom script: call RemoveLocation(udg_PickedUnitLoc)
-
Custom script: call DestroyGroup(udg_AOE)
-
-
Else - Actions
-
Custom script: call RemoveLocation(udg_CasterLoc)
-
Trigger - Turn off (This trigger)
-
-
-
-
Please update the test map and post it in your reply so I/we can download it and test it
+rep is all I can give =D