ghostBasedMovement.zh#
Functions#
int |
ConstWalk4(npc n, int counter, bool flying = |
int |
ConstWalk4(npc n, int counter, int step, int rate, int homing, int hunger, bool flying = |
int |
ConstWalk8(npc n, int counter, bool flying = |
int |
ConstWalk8(npc n, int counter, int step, int rate, int homing, int hunger, bool flying = |
int |
|
int |
HaltWalk4(npc n, int counter, int step, int rate, int homing, int hunger, int haltRate, int haltTime = |
int |
|
int |
VarWalk8(npc n, int counter, int step, int rate, int homing, int hunger, int turnCheckTime, bool flying = |
int |
FloatWalk(npc n, int counter, int step, int rate, int homing, int hunger, int turnCheckTime, int accelTime, int accelAmount, int accelSteps, int restTime) |
void |
|
int |
|
void |
|
void |
|
bool |
Function descriptions#
int ConstWalk4(npc n, int counter, bool flying = false
) π Source
Pass a variable for the βcounterβ param which is initialized to -1
,
and assign the return from the function back to the counter variable.
Ex:
int ConstWalk4(npc n, int counter, int step, int rate, int homing, int hunger, bool flying = false
) π Source
int ConstWalk8(npc n, int counter, bool flying = false
) π Source
int ConstWalk8(npc n, int counter, int step, int rate, int homing, int hunger, bool flying = false
) π Source
int HaltWalk4(npc n, int counter, bool flying = false
) π Source
int HaltWalk4(npc n, int counter, int step, int rate, int homing, int hunger, int haltRate, int haltTime = 48
, bool flying = false
) π Source
int VarWalk8(npc n, int counter, bool flying = false
) π Source
int VarWalk8(npc n, int counter, int step, int rate, int homing, int hunger, int turnCheckTime, bool flying = false
) π Source
int FloatWalk(npc n, int counter, int step, int rate, int homing, int hunger, int turnCheckTime, int accelTime, int accelAmount, int accelSteps, int restTime) π Source
void FixCoords(npc n) π Source
int LinedUp(npc n, int range, bool eightWay) π Source
void PickDir4(npc n, int rate, int homing, int hunger) π Source
void PickDir8(npc n, int rate, int homing, int hunger) π Source