Jump to content

How do you change a character's run speed?


Naidingo

Recommended Posts

inst.components.locomotor.walkspeed = ()

inst.components.locomotor.runspeed = ()

 

This goes under the function(inst) in your prefab's lua.  Normal walk speed is 4, and normal run speed is 6.

 

For more look under the data\scripts\components\locomotor.lua

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...