[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Fri Nov 24 09:44:06 CST 2006
A page in your DokuWiki was added or changed. Here are the details:
Date : 2006/11/24 09:44
User : ryo
Edit Summary: parameters
@@ -9,8 +9,9 @@
^ Name ^ Description ^ Status ^
| [[cfanim]] | animate objects | build, but untested |
| [[cfpython]] | run Python scripts | working |
| template | not a real plugin, but a skeleton to create new ones | up-to-date |
+
====== Hooks ======
@@ -19,9 +20,9 @@
The full list of events corresponds to the //event_xxx// archetypes, found in the [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/arch/trunk/system/|/system folder of the archetypes]].
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.
IP-Address : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1164383011
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