• 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.

[Crash] Set move speed is not working

Status
Not open for further replies.
Level 24
Joined
Jun 26, 2020
Messages
1,928
Refer to MoveSpeedX Lua on how to do it. From the looks of things, he named one of his custom functions the same as the native and invoked a function called oldSetUnitMS.
Searching stuff in this forum is too difficult, anyway, thanks for the link, but I don't understand why the function SetMoveSpeed didn't work even if I don't overwrite it?
 
Level 6
Joined
Dec 29, 2019
Messages
82
No, I just used the normal function, even with my code disabled, and the normal function didn't work.
Hello, if you want to fix your code then you need to share it ... how else are we suppose to figure out what's wrong with it ... if you just want to make MSX system run in Lua use my system from the link above ... it's tested and leak safe + got both GetUnitMoveSpeed and SetUnitMoveSpeed hooked so it's GUI friendly as well.
 
Status
Not open for further replies.
Top