Denizen/0.7/Activity Scripts/Activities: Difference between revisions

From Citizens Wiki
No edit summary
No edit summary
Line 21: Line 21:
| Runs a TASK script repeatedly.
| Runs a TASK script repeatedly.
Modifiers:
Modifiers:
SCRIPT: The Task script to run. Note that there will be no "player" associated with this script so some commands will not work
*SCRIPT: The Task script to run. Note that there will be no "player" associated with this script so some commands will not work
REPEATS: The number of times to repeat the TASK. By default the scripts runs repeatedly until a new activity is assigned.
*REPEATS: The number of times to repeat the TASK. By default the scripts runs repeatedly until a new activity is assigned.
DELAY: The number of seconds to wait between repeats
*DELAY: The number of seconds to wait between repeats
DURATION: The number of seconds to pause other activities while the task runs.
*DURATION: The number of seconds to pause other activities while the task runs.
'''Example Usages'''
'''Example Usages'''
   - 1 TASK SCRIPT:WalkHome REPEATS:0
   - 1 TASK SCRIPT:WalkHome REPEATS:0

Revision as of 20:26, 10 October 2012