Atrinik Server  4.0
move_on.c File Reference
#include <global.h>
#include <object.h>
#include <object_methods.h>

Go to the source code of this file.


int common_object_move_on (object *op, object *victim, object *originator, int state)

Detailed Description

Common code for objects moving onto/from another object.

Alex Tokar

Definition in file move_on.c.

Function Documentation

int common_object_move_on ( object op,
object victim,
object originator,
int  state 

Triggered when an object moves moves off a square and when object moves onto a square.

opThe object that wants to catch this event.
victimThe object moving.
originatorThe object that is the cause of the move.
state1 if the object is moving onto a square, 0 if moving off a square.

Definition at line 37 of file move_on.c.