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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sat Apr 14 12:44:43 CDT 2007


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

Date        : 2007/04/14 12:44
User        : ryo
Edit Summary: ChangeLight

@@ -547,17 +547,16 @@
    * WPartX: ''Number''
    * WPartY: ''Number''
    * Message: ''String''
    * Region: ''Crossfire.Region''
-   * Exists (special meaning, False if cf map has been freed from memory, True otherwise)
+   * Exists (special meaning, ''False'' if cf map has been freed from memory, ''True'' otherwise)
  
  Methods:
    * Print: argument are ''String'', optional ''Number''. Prints the specified message to all players on the map, with specified flags (default is NDI_BLUE|NDI_UNIQUE). {FIXME} add flag description / equivalent of ext_info_map().
    * ObjectAt
    * CreateObject
    * Check
- 
- 
+   * ChangeLight: argument is a ''Number'', specifying how to change the light. Negative value means map gets brighter, positive darker. Note that light will never be negative or over 5 (''MAX_DARKNESS'')
  
  ===== Crossfire.Player methods and attributes =====
  
  This class inherits from Crossfire.Object, and introduces the new properties (bold = read-write):


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