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

www-data at wiki.metalforge.net www-data at wiki.metalforge.net
Wed Nov 15 11:12:38 CST 2006


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

Date        : 2006/11/15 11:12
User        : ryo
Edit Summary: reformulation

@@ -63,13 +63,14 @@
  
  ===== Return value =====
  
  The return value of the script can manipulated through the ''GetReturnValue'' and ''SetReturnValue'' functions. Signification of this value depends on the event being handled.
+ 
  
  ====== Python API reference ======
  
  Constants are available to wrap values used in Crossfire code like object types, movements, ...
- They are available through ''Crossfire.xxx.value'', where ''xxx'' is the constant type.
+ They are available through ''Crossfire.xxx.VALUE'', where ''xxx'' is the constant type and ''VALUE'' the value as in the C sources code in uppercase.
  
  For each constant group ''xxx'' there exists a ''xxxName'' dictionary object containing the name of the value as a string.
  
  The following constant types exist:


IP-Address  : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php?id=cfpython&rev=1163610297
New Revision: http://wiki.metalforge.net/doku.php?id=cfpython

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




More information about the crossfire-wiki mailing list