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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Tue Dec 26 16:30:58 CST 2006


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

Date        : 2006/12/26 16:30
User        : ryo
Edit Summary: DestroyTimer

@@ -204,8 +204,9 @@
    * ''ScriptParameters'' contains any parameter the player added to the command. FIXME {can NULL be passed?}
  
  ==== RegisterGlobalEvent ====
  ==== UnregisterGlobalEvent ====
+ 
  ==== GetTime ====
  Returns a Python ''list'' corresponding to the in-game server time. Fields are (start at ''0'' to access):
    - year
    - month
@@ -216,8 +217,17 @@
    - week of month
    - season
  
  
+ ==== DestroyTimer ====
+ Removes a timer created through a call to ''[[cfpython#AddTimer|Crossfire.Object.AddTimer]]''.
+ 
+ Arguments:
+   * ''Number'': timer identifier.
+ 
+ Returns:
+   * 0: no error.
+   * -1: invalid timer identifier.
  
  ===== Crossfire.Archetype methods and attributes =====
  
  This represents an archetype, from which all objects are derived.


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1167172097
New Revision: http://wiki.metalforge.net/doku.php/cfpython

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




More information about the crossfire-wiki mailing list