[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Thu Sep 27 14:58:49 CDT 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/09/27 14:58
User : ryo
Edit Summary: update fields
@@ -124,8 +124,9 @@
=== PlayerDirectory ===
Returns the system directory containing player files.
=== DataDirectory ===
Returns the system directory containing read-only data.
+
==== Data access functions ====
Those functions enable the script to browse runtime data and objects (maps, players, ...).
=== FindPlayer ===
Parameter:
@@ -159,8 +160,21 @@
Parameter:
* map path (''String'')
Returns the ''[[cfpython#crossfire.map_methods_and_attributes|Crossfire.Map]]'' with specified path, or ''None'' if such a map isn't loaded. Will not try to load the map, see ''[[cfpython#readymap|Crossfire.ReadyMap]]'' for that.
+
+ === FindFace ===
+ Parameter:
+ * face name (''String'')
+
+ Returns the number of the specified face, 0 if it doesn't exist. The face name is the name as it appears in the archetypes, ie ''dcross-red1.111'', without the set name or extension.
+
+ === FindAnimation ===
+ Parameter:
+ * animation name (''String'')
+
+ Returns the number of the specified animation, 0 if it doesn't exist. The name is has it appears in the archetypes, ie ''campfire'' or ''bat''.
+
==== Action functions ====
Those functions enable the script to manipulate runtime objects.
=== ReadyMap ===
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1190922619
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