server.OP_ACTION

Name

server.OP_ACTION -- Events of any kind

Synopsis

server.OP_ACTION [minor] [data...]
DataTypeExample
minorint

  • ACTION_NEWPLAYER

  • ACTION_NEWMONSTER

  • ACTION_NEWITEM

  • ACTION_NEWEXIT

  • ACTION_NEWBLAST

  • ACTION_NEWBOMB

  • ACTION_ITEM

  • ACTION_REMOVEPLAYER

  • ACTION_REMOVEMONSTER

  • ACTION_REMOVEITEM

  • ACTION_REMOVEBOMB

  • ACTION_REMOVEBLAST

  • ACTION_ACTIVATEITEM

  • ACTION_ACTIVATEEXIT

  • ACTION_HIGHLIGHTITEM

  • ACTION_HIGHLIGHTEXIT

datavarying...

Description

Events of any kind

Message Data

minor

Minor opcode for further determining the event.

data

Event-specific data, outlined below.


Data formats

DataTypeExample
ACTION_NEWPLAYER
playerint...
xint...
yint...
ACTION_NEWMONSTER
idint...
xint...
yint...
ACTION_NEWITEM
typeint...
idint...
xint...
yint...
ACTION_NEWEXIT
xint...
yint...
ACTION_NEWBOMB
typeint...
idint...
xint...
yint...
ACTION_NEWBLAST
idint...
xint...
yint...
ACTION_ITEM
idint...
typeint...
changeint...
ACTION_REMOVEPLAYER
idint...
ACTION_REMOVEMONSTER
idint...
ACTION_REMOVEBOMB
idint...
ACTION_REMOVEBLAST
idint...
ACTION_REMOVEITEM
idint...
ACTION_ACTIVATEITEM
idint...
ACTION_HIGHLIGHTITEM
idint...
ACTION_ACTIVATEEXIT
(none)  
ACTION_HIGHLIGHTEXIT
(none)  


Usage

All events such as map changes, player actions, item activations and so on are announced with this message.