• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

unit movement speed manipulation

Status
Not open for further replies.
Level 9
Joined
Jan 14, 2008
Messages
366
if a unit has 0 movement speed by default, when attempting to add 315 to that units movement speed by trigger, the trigger seems to be ignored, and the unit still can not move at all.

is there a way to surpass this? or am i doing it wrong?

help me
 
RedFlash is right. If a unit type has 0 move speed, it will never be able to move. EoW is also right about the min and max speeds; a unit's move speed must always be between the min and max values, unless it is 0.

So, oxxo, the solution is this:
1)Go to the object editor, and find your unit type. Change "Movement - Speed Base" to "1". A movespeed of 1 is so slow that the unit can basically not move.
2)Change "Movement - Speed Minimum" to "1".
3)Change "Movement - Speed Maximum" to "0" or "522". (0 would use the gameplay constant for max speed)
 
RedFlash is right. If a unit type has 0 move speed, it will never be able to move. EoW is also right about the min and max speeds; a unit's move speed must always be between the min and max values, unless it is 0.

So, oxxo, the solution is this:
1)Go to the object editor, and find your unit type. Change "Movement - Speed Base" to "1". A movespeed of 1 is so slow that the unit can basically not move.
2)Change "Movement - Speed Minimum" to "1".
3)Change "Movement - Speed Maximum" to "0" or "522". (0 would use the gameplay constant for max speed)

or you can set the movement speed to 0 to the interested units via trigger at map initializazion or when they are created
 
Status
Not open for further replies.
Back
Top