- Joined
- Aug 19, 2007
- Messages
- 1,380
I am making an impale ability that acts as a sort of charge like ability, doing the effects of impale + moving the caster. Spell looks decent now ingame but problem is when multiple units are going to cast it, units are disappearing .
What be the easiest way to make this impale based ability MUI in GUI ??
ps: triggering unit seems to be pointed to the impale effect , that is why I used casting unit here
What be the easiest way to make this impale based ability MUI in GUI ??
ps: triggering unit seems to be pointed to the impale effect , that is why I used casting unit here
-
Charge
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Charge
-
Actions
- Wait 0.50 seconds
- Set TEMP_PointCharge = (Target point of ability being cast)
- Set TEMP_PointChargePos = (Position of (Casting unit))
- Set TEMP_PointChargePos2 = (TEMP_PointChargePos offset by 100.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Move (Casting unit) instantly to TEMP_PointChargePos2, facing TEMP_PointCharge
- Special Effect - Create a special effect at TEMP_PointChargePos2 using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.20 seconds
- Set TEMP_PointChargePos2 = (TEMP_PointChargePos2 offset by 100.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Move (Casting unit) instantly to TEMP_PointChargePos2, facing TEMP_PointCharge
- Special Effect - Create a special effect at TEMP_PointChargePos2 using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.20 seconds
- Set TEMP_PointChargePos2 = (TEMP_PointChargePos2 offset by 100.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Move (Casting unit) instantly to TEMP_PointChargePos2, facing TEMP_PointCharge
- Special Effect - Create a special effect at TEMP_PointChargePos2 using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.20 seconds
- Set TEMP_PointChargePos2 = (TEMP_PointChargePos2 offset by 100.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Move (Casting unit) instantly to TEMP_PointChargePos2, facing TEMP_PointCharge
- Special Effect - Create a special effect at TEMP_PointChargePos2 using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_TEMP_PointCharge)
- Custom script: call RemoveLocation(udg_TEMP_PointChargePos)
- Custom script: call RemoveLocation(udg_TEMP_PointChargePos2)
-
Events