# CDOTA_Modifier_Lua_Motion_Both
extends CDOTA_Modifier_Lua
Function | Description | Client |
---|---|---|
bool ApplyHorizontalMotionController() | Starts the horizontal motion controller effects for this buff. Returns true if successful. | ❌ |
bool ApplyVerticalMotionController() | Starts the vertical motion controller effects for this buff. Returns true if successful. | ❌ |
int GetPriority() | Get the priority | ❌ |
void OnHorizontalMotionInterrupted() | Called when the motion gets interrupted. | ✔️ |
void OnVerticalMotionInterrupted() | Called when the motion gets interrupted. | ✔️ |
void SetPriority(nMotionPriority) | Set the priority | ❌ |
void UpdateHorizontalMotion(me, dt) | Perform any motion from the given interval on the NPC. | ✔️ |
void UpdateVerticalMotion(me, dt) | Perform any motion from the given interval on the NPC. | ✔️ |