Atrinik Server  4.0
move_apply() function call flags


#define MOVE_APPLY_WALK_ON   1
#define MOVE_APPLY_FLY_ON   2
#define MOVE_APPLY_FLY_OFF   8
#define MOVE_APPLY_MOVE   16
#define MOVE_APPLY_SAVING   64

Detailed Description

Macro Definition Documentation

#define MOVE_APPLY_MOVE   16

Our object makes a step in/out of this tile

Definition at line 54 of file object.h.

#define MOVE_APPLY_SAVING   64

move_apply() called from saving function

Definition at line 64 of file object.h.


When a player logs out, the player char not "move" out of a tile but it "turns to nothing on the spot". This sounds senseless but for example a move out can trigger a teleporter action. This flag prevents a logging out/exploding object is teleported after removing it from the spot.

Definition at line 62 of file object.h.