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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Dec 16 05:49:08 CST 2007


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

Date        : 2007/12/16 05:49
User        : tchize
Edit Summary: 

@@ -73,14 +73,15 @@
  **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 a non-match is seen as a match. See that as a "everytime except when ...." rule
+ 
  
  
  ==== Pushing ====
  **Script** /python/tod/push.py
  
- **Description**: Schedules a map trigger at a specific period of time. It runs a "connected" list inside the current map, at a specific time. This script could be used by any event, however it is typical to use it in the EVENT_TIME of a living object, so as to ensure the script is run often enough to react on time. However you could, without trouble, use it in EVEN_DEATH or a monster, EVENT_APPLY of a button, etc. Just keep in mind the script can't do anything unless it get called ;) This script keep information on it's current push state, so it won't push twice the connected list and will release the connected list when needed.
+ **Description**: Schedules a map trigger at a specific period of time. It runs a "connected" list inside the current map, at a specific time. This script could be used by any event, however it is typical to use it in the EVENT_TIME of a living object, so as to ensure the script is run often enough to react on time. However you could, without trouble, use it in EVEN_DEATH or a monster, EVENT_APPLY of a button, etc. Just keep in mind the script can't do anything unless it gets called ;) This script keep information on it's current push state, so it won't push twice the connected list and will release the connected list when needed. That way, it will behave nicely with map swapping and when connected to non regular events.
  
  **Parameters**
    * **when**(list): periods of day when this script will stay "pushed".
    * **match**: one or all, whethever only one match in list is needed or all list must match current time


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