[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython:tod
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sun Dec 16 05:44:39 CST 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/12/16 05:44
User : tchize
Edit Summary:
@@ -62,17 +62,18 @@
For demonstration of the scripts, mapmakers are invited to take a look at the demo maps at [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/maps/trunk/test/tod|test/tod]] and [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/maps/trunk/test/tod2|test/tod2]]
===== Available scripts =====
+
==== Filtering ====
**Script** /python/tod/filter.py
- **Description** TODO
+ **Description** Prevent the event this filter is attached to to occurs at specific period of the day. This can stop a lever (event_apply) from working, prevent a magic hear (event_say) from hearing anything, prevent a gate (event_trigger) from opening.
**Parameters**
* **when**(list): periods of day when this filter lets event it is attached to happen.
- * **match**: one or all, whethever only one match in list is needed or all 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
+ * **match**: "one" or "all", whethever only one match in list is needed or all must match current time
+ * **inverse**: if true, a match is seen as a non-match and a non-match is seen as a match. See that as a "everytime except when ...." rule
==== Pushing ====
**Script** /python/tod/push.py
IP-Address : 87.67.125.144
Old Revision: http://wiki.metalforge.net/doku.php/cfpython:tod?rev=1195772285
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