[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython:tod
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sun Feb 3 09:39:34 CST 2013
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/02/03 09:39
User : ryo
Edit Summary: update
@@ -97,8 +97,9 @@
**Parameters**
* **when**(list): periods when this script's owner will stay transformed.
* **match**: one or all, whethever only one match in list is needed or all list must match current time
* **inverse**: if true, a match is seen as a non-match and vice version. See that as a "everytime except when ...." rule
+
==== Map transforming ====
**Script** /python/tod/replace_in_map.py
@@ -108,7 +109,7 @@
**Parameters**
* **when**(list): periods when this script's owner will stay transformed.
* **match**: one or all, whethever only one match in list is needed or all list must match current time
* **inverse**: if true, a match is seen as a non-match and vice version. See that as a "everytime except when ...." rule
- * **from**(list): criterias that map object must match to be transformed
- * **to**(list): name of object that will be created to replace transformed object. The newly created objects will be made unpickable so they stay on the map.
+ * **from**(list): possible names a map object can match to be transformed. This is the name as given by [[:cfpython#object|the Name field]]
+ * **to**(list): name of objects that will be created to replace transformed object. The newly created objects will be made unpickable so they stay on the map. If more than one, a random is chosen for each transformed objet.
* **key**: a keyword used to keep track of transformed object when time comes to untransform them. This is used to prevent clash if several transformation script are working on same map
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/cfpython:tod?rev=1359905762
New Revision: http://wiki.metalforge.net/doku.php/cfpython:tod
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list