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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Tue Mar 6 16:58:03 CST 2007


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

Date        : 2007/03/06 16:58
User        : ryo
Edit Summary: more cases

@@ -45,16 +45,18 @@
  ==== Apply ====
  Archetype: event_apply
  
  This event is generated whenever the object is applied or unapplied.
+ 
  
  
  ==== Attack ====
  Archetype: event_attack
  
- This event is used in two cases:
+ This event is used in three cases:
    * bound to a (hand) weapon, it is triggered each time the weapon is used to slay something; this can typically be used to generate special effects when you hit a monster. In this case, "op" is the weapon, "activator" the player and "third" the monster attacked.
    * bound to a monster, it is triggered when the monster is attacked. In this case, "op" is the monster, "activator" is the player, "third" is the weapon (can be equal to "activator")
+   * bound to an arrow, it is triggered when the arrow hits something. "op" is the arrow, "hitter" what really hits (arrow can have stuff inside), "third" is the victim
  
  ==== Close ====
  Archetype: event_close
  


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1173220310
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