Atrinik Server  4.0
Macros
Event number codes

Macros

#define EVENT_NONE   0
 
#define EVENT_APPLY   1
 
#define EVENT_ATTACK   2
 
#define EVENT_DEATH   3
 
#define EVENT_DROP   4
 
#define EVENT_PICKUP   5
 
#define EVENT_SAY   6
 
#define EVENT_STOP   7
 
#define EVENT_TIME   8
 
#define EVENT_THROW   9
 
#define EVENT_TRIGGER   10
 
#define EVENT_CLOSE   11
 
#define EVENT_QUEST   13
 
#define EVENT_ASK_SHOW   14
 
#define EVENT_AI   15
 

Detailed Description

Event ID codes.

Macro Definition Documentation

#define EVENT_AI   15

AI related event. One of AI events.

Definition at line 101 of file plugin.h.

#define EVENT_APPLY   1

Object applied/unapplied.

Definition at line 75 of file plugin.h.

#define EVENT_ASK_SHOW   14

Ask script whether to show this object on map.

Definition at line 99 of file plugin.h.

#define EVENT_ATTACK   2

Monster attacked or scripted weapon was used.

Definition at line 77 of file plugin.h.

#define EVENT_CLOSE   11

Container closed.

Definition at line 95 of file plugin.h.

#define EVENT_DEATH   3

Player or monster was killed.

Definition at line 79 of file plugin.h.

#define EVENT_DROP   4

Object dropped on the floor.

Definition at line 81 of file plugin.h.

#define EVENT_NONE   0

No event.

Definition at line 73 of file plugin.h.

#define EVENT_PICKUP   5

Object picked up.

Definition at line 83 of file plugin.h.

#define EVENT_QUEST   13

Marks that we should process quests in this object.

Definition at line 97 of file plugin.h.

#define EVENT_SAY   6

Someone speaks.

Definition at line 85 of file plugin.h.

#define EVENT_STOP   7

Thrown object stopped.

Definition at line 87 of file plugin.h.

#define EVENT_THROW   9

Object is thrown.

Definition at line 91 of file plugin.h.

#define EVENT_TIME   8

Triggered each time the object can react/move.

Definition at line 89 of file plugin.h.

#define EVENT_TRIGGER   10

Button pushed, lever pulled, etc.

Definition at line 93 of file plugin.h.