I've been trying to add custom triggers to a basic spell just to change up the look to it, however I'm not having any luck with one particular thing- the angle, or direction, of the spawned special effect.
I'm trying to use the Special Effect - Change Pitch/Yaw/Roll functions but no matter what I try it doesn't want to change the direction.
It may be worth noting that I am using a model from the "Spawned Effects" menu, not sure if that would cause the issue but I wouldnt be surprised if that was the problem.
Anyways, Is there a known way of doing this? Am I doing something wrong? This is the trigger I'm trying to use currently that will spawn the flame from the unit's hand, but at a 90 degree angle (and it doesn't change if I alter the value of the roll from 0.00 to 90.00, nor if I change it to Yaw/Pitch).
I'm trying to use the Special Effect - Change Pitch/Yaw/Roll functions but no matter what I try it doesn't want to change the direction.
It may be worth noting that I am using a model from the "Spawned Effects" menu, not sure if that would cause the issue but I wouldnt be surprised if that was the problem.
Anyways, Is there a known way of doing this? Am I doing something wrong? This is the trigger I'm trying to use currently that will spawn the flame from the unit's hand, but at a 90 degree angle (and it doesn't change if I alter the value of the roll from 0.00 to 90.00, nor if I change it to Yaw/Pitch).
-
MF Flame of Dusk Copy
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Flame of Dusk (MF)
-
Actions
- Set VariableSet UnitPlayerCaster[0] = (Triggering unit)
- Wait 0.77 seconds
- Special Effect - Create a special effect attached to the hand of UnitPlayerCaster[0] using Objects\Spawnmodels\Other\FlameThrower\FlameThrowerSpawnObj.mdl
- Set VariableSet SpecialEffectAbil[2] = (Last created special effect)
- Special Effect - Set Scale of SpecialEffectAbil[2] to 2.00
- Special Effect - Set Roll of SpecialEffectAbil[2] to: 0.00
- Wait 1.50 seconds
- Special Effect - Destroy SpecialEffectAbil[2]
-
Events