PooBucket
New Member
- Reaction score
- 12
Trigger:
- Ice Impale
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Ice Impale asd
- Actions
- Set IceImpCaster = (Triggering unit)
- Set BeginPointIceImp = (Position of IceImpCaster)
- Set IceImpalePoint[1] = (BeginPointIceImp offset by 200.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Create 1 Ice Impale for (Owner of (Triggering unit)) at IceImpalePoint[1] facing Default building facing degrees
- Set IceImpUnits[1] = (Last created unit)
- Unit - Add a 1.20 second Generic expiration timer to IceImpUnits[1]
- Set IceImpalePoint[2] = (IceImpalePoint[1] offset by 200.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Create 1 Ice Impale for (Owner of (Triggering unit)) at IceImpalePoint[2] facing Default building facing degrees
- Set IceImpUnits[2] = (Last created unit)
- Unit - Add a 1.20 second Generic expiration timer to IceImpUnits[2]
- Set IceImpalePoint[3] = (IceImpalePoint[2] offset by 200.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Create 1 Ice Impale for (Owner of (Triggering unit)) at IceImpalePoint[3] facing Default building facing degrees
- Set IceImpUnits[3] = (Last created unit)
- Unit - Add a 1.20 second Generic expiration timer to IceImpUnits[3]
- Set IceImpalePoint[4] = (IceImpalePoint[3] offset by 200.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Create 1 Ice Impale for (Owner of (Triggering unit)) at IceImpalePoint[4] facing Default building facing degrees
- Set IceImpUnits[4] = (Last created unit)
- Unit - Add a 1.20 second Generic expiration timer to IceImpUnits[4]
- Set IceImpalePoint[5] = (IceImpalePoint[3] offset by 200.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Create 1 Ice Impale for (Owner of (Triggering unit)) at IceImpalePoint[5] facing Default building facing degrees
- Set IceImpUnits[5] = (Last created unit)
- Unit - Add a 1.20 second Generic expiration timer to IceImpUnits[5]
- Set IceImpaleGroup[1] = (Units within 150.00 of (Position of IceImpUnits[1]) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
- Set IceImpaleGroup[2] = (Units within 150.00 of (Position of IceImpUnits[2]) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
- Set IceImpaleGroup[3] = (Units within 150.00 of (Position of IceImpUnits[3]) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
- Set IceImpaleGroup[4] = (Units within 150.00 of (Position of IceImpUnits[4]) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
- Set IceImpaleGroup[5] = (Units within 150.00 of (Position of IceImpUnits[5]) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
- Unit Group - Pick every unit in IceImpaleGroup[1] and do (Actions)
- Loop - Actions
- Set IceImpPicked[1] = (Picked unit)
- Unit - Add Storm Crow Form custom to IceImpPicked[1]
- Unit - Remove Storm Crow Form custom from IceImpPicked[1]
- Animation - Change IceImpPicked[1] flying height to 600.00 at 1500.00
- Unit - Pause IceImpPicked[1]
- Wait 1.00 seconds
- Unit - Add Storm Crow Form custom to IceImpPicked[1]
- Unit - Remove Storm Crow Form custom from IceImpPicked[1]
- Animation - Change IceImpPicked[1] flying height to 0.00 at 1500.00
- Special Effect - Create a special effect attached to the chest of IceImpPicked[1] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[1] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Unit - Cause IceImpCaster to damage IceImpPicked[1], dealing (50.00 x (Real((Level of Ice Impale for (Triggering unit))))) damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the chest of IceImpPicked[1] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[1] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[1] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Unpause IceImpPicked[1]
- Loop - Actions
- Unit Group - Pick every unit in IceImpaleGroup[2] and do (Actions)
- Loop - Actions
- Set IceImpPicked[2] = (Picked unit)
- Unit - Add Storm Crow Form custom to IceImpPicked[2]
- Unit - Remove Storm Crow Form custom from IceImpPicked[2]
- Animation - Change IceImpPicked[2] flying height to 600.00 at 1500.00
- Unit - Pause IceImpPicked[2]
- Wait 1.00 seconds
- Unit - Add Storm Crow Form custom to IceImpPicked[2]
- Unit - Remove Storm Crow Form custom from IceImpPicked[2]
- Animation - Change IceImpPicked[2] flying height to 0.00 at 1500.00
- Special Effect - Create a special effect attached to the chest of IceImpPicked[2] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[2] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Unit - Cause IceImpCaster to damage IceImpPicked[2], dealing (50.00 x (Real((Level of Ice Impale for (Triggering unit))))) damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the chest of IceImpPicked[2] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[2] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[2] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Unpause IceImpPicked[2]
- Loop - Actions
- Unit Group - Pick every unit in IceImpaleGroup[3] and do (Actions)
- Loop - Actions
- Set IceImpPicked[3] = (Picked unit)
- Unit - Add Storm Crow Form to IceImpPicked[3]
- Unit - Remove Storm Crow Form custom from IceImpPicked[3]
- Unit - Pause IceImpPicked[3]
- Animation - Change IceImpPicked[3] flying height to 600.00 at 1500.00
- Wait 1.00 seconds
- Unit - Add Storm Crow Form to IceImpPicked[3]
- Unit - Remove Storm Crow Form custom from IceImpPicked[3]
- Animation - Change IceImpPicked[3] flying height to 0.00 at 1500.00
- Special Effect - Create a special effect attached to the chest of IceImpPicked[3] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[3] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Unit - Cause IceImpCaster to damage IceImpPicked[3], dealing (50.00 x (Real((Level of Ice Impale for (Triggering unit))))) damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the chest of IceImpPicked[3] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[3] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpPicked[3] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Unpause IceImpPicked[3]
- Loop - Actions
- Unit Group - Pick every unit in IceImpaleGroup[4] and do (Actions)
- Loop - Actions
- Set IceImpPicked[4] = (Picked unit)
- Unit - Add Storm Crow Form custom to IceImpPicked[4]
- Unit - Remove Storm Crow Form custom from IceImpPicked[4]
- Animation - Change IceImpPicked[4] flying height to 600.00 at 1500.00
- Unit - Pause IceImpPicked[4]
- Wait 1.00 seconds
- Unit - Add Storm Crow Form custom to IceImpPicked[4]
- Unit - Remove Storm Crow Form custom from IceImpPicked[4]
- Animation - Change IceImpPicked[4] flying height to 0.00 at 1500.00
- Special Effect - Create a special effect attached to the chest of IceImpUnits[4] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpUnits[4] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Unit - Cause IceImpCaster to damage IceImpPicked[4], dealing (50.00 x (Real((Level of Ice Impale for (Triggering unit))))) damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the chest of IceImpUnits[4] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpUnits[4] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpUnits[4] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Unpause IceImpPicked[4]
- Loop - Actions
- Unit Group - Pick every unit in IceImpaleGroup[5] and do (Actions)
- Loop - Actions
- Set IceImpPicked[5] = (Picked unit)
- Unit - Add Storm Crow Form custom to IceImpPicked[5]
- Unit - Remove Storm Crow Form custom from IceImpPicked[5]
- Animation - Change IceImpPicked[5] flying height to 600.00 at 1500.00
- Unit - Pause IceImpPicked[5]
- Wait 1.00 seconds
- Unit - Add Storm Crow Form custom to IceImpPicked[5]
- Unit - Remove Storm Crow Form custom from IceImpPicked[5]
- Animation - Change IceImpPicked[5] flying height to 0.00 at 1500.00
- Special Effect - Create a special effect attached to the chest of IceImpUnits[5] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpUnits[5] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Unit - Cause IceImpCaster to damage IceImpPicked[5], dealing (50.00 x (Real((Level of Ice Impale for (Triggering unit))))) damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the chest of IceImpUnits[5] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpUnits[5] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.05 seconds
- Special Effect - Create a special effect attached to the chest of IceImpUnits[5] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodPeasant.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Unpause IceImpPicked[5]
- Loop - Actions
- Wait 3.30 seconds
- Custom script: call DestroyGroup (udg_IceImpaleGroup[1])
- Custom script: call DestroyGroup (udg_IceImpaleGroup[2])
- Custom script: call DestroyGroup (udg_IceImpaleGroup[3])
- Custom script: call DestroyGroup (udg_IceImpaleGroup[4])
- Custom script: call DestroyGroup (udg_IceImpaleGroup[5])
- Custom script: call RemoveLocation (udg_BeginPointIceImp)
- Custom script: call RemoveLocation (udg_IceImpalePoint[1])
- Custom script: call RemoveLocation (udg_IceImpalePoint[2])
- Custom script: call RemoveLocation (udg_IceImpalePoint[3])
- Custom script: call RemoveLocation (udg_IceImpalePoint[4])
- Custom script: call RemoveLocation (udg_IceImpalePoint[5])
- Events
Trigger:
- Test
- Events
- Time - Every 2.00 seconds of game time
- Conditions
- Actions
- Unit - Add Storm Crow Form custom to Death Knight 0164 <gen>
- Unit - Remove Storm Crow Form custom from Death Knight 0164 <gen>
- Animation - Change Death Knight 0164 <gen> flying height to 600.00 at 1500.00
- Unit - Pause Death Knight 0164 <gen>
- Wait 1.00 seconds
- Unit - Add Storm Crow Form custom to Death Knight 0164 <gen>
- Unit - Remove Storm Crow Form custom from Death Knight 0164 <gen>
- Animation - Change Death Knight 0164 <gen> flying height to 0.00 at 1500.00
- Unit - Unpause Death Knight 0164 <gen>
- Events
My problem is that with this impale, the units go up but never come back down and are still paused. For the test impale it works perfectly, but on the 1st trigger, everything dies after the Wait 1.00 seconds. I've looked at Glenphir's impale, but I wanted to alter it a bit. Also, the 1st trigger's SFX doesn't show either, nor damage. As I said the whole trigger dies after the wait.