[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Thu Mar 22 05:48:51 CDT 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/03/22 05:48
User        : ryo
Edit Summary: slaying

@@ -29,14 +29,15 @@
  
  Events are either //global// or //object-specific//. Examples of global events include a player joining or exiting the game, a map being loaded. Examples of object-specific events include an item being applied, a player attacking a monster.
  
  FIXME check parameters and such :)
+ 
  
  
  
  ===== Hooking to an object-specific event =====
  
- Just add an //event_xxx// object into your object's inventory, and fill the ''title'' field with the plugin name. See the specific plugin documentation for optional arguments that need to be set to that object.
+ Just add an //event_xxx// object into your object's inventory, and fill the ''title'' field with the plugin name. See the specific plugin documentation for optional arguments that need to be set to that object. Note that the ''slaying'' field must be set too.
  
  When an object-specific event is raised, affected object is sent to the plugin.
  
  For some events, returning a non-zero value will prevent the default server processing to take place, allowing to override things. FIXME be more specific :)


IP-Address  : 172.186.46.252
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1174560466
New Revision: http://wiki.metalforge.net/doku.php/server_plugin

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list