Denizen/0.7/Activity Scripts/Activities: Difference between revisions
From Citizens Wiki
< Denizen | 0.7 | Activity Scripts
No edit summary |
Davidcernat (talk | contribs) m (Added a space and 3 full stops.) |
||
Line 18: | Line 18: | ||
{{Denizen Command Color 2|aliceblue| | {{Denizen Command Color 2|aliceblue| | ||
TASK | TASK | ||
|[SCRIPT:ScriptNAme] (REPEATS:#)(DELAY:#) (DURATION:#) | |[SCRIPT:ScriptNAme] (REPEATS:#) (DELAY:#) (DURATION:#) | ||
| Runs a [[Denizen/Task_Scripts|Task Script]] repeatedly. | | Runs a [[Denizen/Task_Scripts|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''' |
Revision as of 20:28, 12 October 2012
WANDER |
(RADIUS:#) (DELAY:#) (SPEED:#) (FILTER:#:#,#:#..) (BOOKMARK:BookmarkName) | |
---|---|---|
Causes the Denizen to wander aimlessly. Many options to dictate range and area.
Modifiers:
Example Usages - 1 WANDER DELAY:12 RADIUS:10 SPEED:.75 FILTER:COBBLESTONE,GRAVEL,5 |
TASK |
[SCRIPT:ScriptNAme] (REPEATS:#) (DELAY:#) (DURATION:#) | |
---|---|---|
Runs a Task Script repeatedly.
Modifiers:
Example Usages - 1 TASK SCRIPT:WalkHome REPEATS:0 - 1 TASK SCRIPT:ComplainAboutThings DELAY:10 DURATION:1 |