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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Fri Mar 26 09:30:40 CDT 2010


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

Date        : 2010/03/26 09:30
User        : cavehippo
Edit Summary: Update cfpython map documentation

@@ -775,19 +775,10 @@
    * Width: ''Number''
    * Height: ''Number''
    * EnterX: ''Number''
    * EnterY: ''Number''
-   * Temperature: ''Number''
-   * Pressure: ''Number''
-   * Humidity: ''Number''
-   * WindSpeed: ''Number''
-   * WindDirection: ''Number''
-   * Sky: ''Number''
-   * WPartX: ''Number''
-   * WPartY: ''Number''
    * Message: ''String''
    * Region: ''Crossfire.Region''
-   * Exists (special meaning, ''False'' if cf map has been freed from memory, ''True'' otherwise)
    * Unique: ''Number''
  
  ==== Print ====
  Prints the specified message to all players on the map.
@@ -819,8 +810,13 @@
    * ''Integer'', optional ''x'' and ''y'' coordinates
  
  Return:
    * the first object at the specified location matching specified name
+ 
+ ==== Next ====
+ Arguments:
+   * 
+   ??? I don't actually know what this does yet ???
  
  ==== ChangeLight ====
  Change the map's light level.
  
@@ -837,9 +833,16 @@
    * ''Number'', X and Y, coordinates where to insert
  
  Return: ''Crossfire.Object'' representing the inserted object. Can be ''None'' if object was removed for some reason (eaten by an altar, ...)
  
+ ==== TriggerConnected ====
+ Triggers the connected value for the map, this is normally used for activating gates, etc.
  
+ Arguments:
+   * ''connected'' The connection that is to be triggered.
+   * ''state'' Connections have two states, push and release (or on/off), zero causes the map to be sent the release (or off) state, non-zero the ''push''
+   * ''cause'' The object that caused the trigger to occur.
+  
  ===== Player =====
  This class inherits from Crossfire.Object, and introduces the new properties (bold = read-write):
    * IP: ''String''.
    * **BedMap**: ''string'' containing the map in which the player last saved.


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