I am trying to write a trigger that will stop a missile mid-air, and then return the missile to normal speed a few seconds later.
I have tried using a "Pick each unit" trigger that requires type "Missile", and then setting the picked unit speed to 0. This doesn't stop the missiles at all, and I can't find any other triggers that might work. Does anyone know?
Unit Group - Pick each unit in (Any units in playingZone[1] owned by player 7 matching Required: Missile; Excluded: Dead, Hidden, with at most Any Amount) and do (Actions)
u can't change the movement speed of missiles that way. If you want to slow or stop a missile you have to modify its "time."
You can do this in data by creating a buff behavior that changes the unit -> time to 0, or a really small number. Set the buff duration to 3 seconds, then apply it via triggers or unit ability.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am trying to write a trigger that will stop a missile mid-air, and then return the missile to normal speed a few seconds later.
I have tried using a "Pick each unit" trigger that requires type "Missile", and then setting the picked unit speed to 0. This doesn't stop the missiles at all, and I can't find any other triggers that might work. Does anyone know?
Unit Group - Pick each unit in (Any units in playingZone[1] owned by player 7 matching Required: Missile; Excluded: Dead, Hidden, with at most Any Amount) and do (Actions)
Unit - Set (Picked unit) Movement Speed to 0.0
u can't change the movement speed of missiles that way. If you want to slow or stop a missile you have to modify its "time."
You can do this in data by creating a buff behavior that changes the unit -> time to 0, or a really small number. Set the buff duration to 3 seconds, then apply it via triggers or unit ability.