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

From Citizens Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
For more up-to-date information and full details on specific features (individual commands or tags, for example), check the [https://meta.denizenscript.com/ Meta Documentation].
If you want a full tutorial to help get you set up, check out the [https://guide.denizenscript.com/ Beginner's Guide] text website.
If you need quick help, visit our [https://discord.gg/Q6pZGSR Discord group].
<br><br><br>
<span style="font-family:natalya-alternate-one; font-size:300%; margin-right:-7px; margin-left:-10px;">This wiki is outdated, please view the tutorial videos/guide, meta documentation, or Discord group (all linked above) for up-to-date information!</span>
<br><br><br>


{{Denizen Command Color 2|aliceblue|
{{Denizen Command Color 2|aliceblue|
Line 18: Line 39:
{{Denizen Command Color 2|aliceblue|
{{Denizen Command Color 2|aliceblue|
TASK  
TASK  
|[SCRIPT:ScriptNAme] (REPEATS:#)(DELAY:#) (DURATION:#)  
|[SCRIPT:ScriptNAme] (REPEATS:#) (DELAY:#) (DURATION:#)  
| Runs a TASK script repeatedly.
| Runs a [[Denizen/0.7/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'''
   - 1 TASK SCRIPT:WalkHome REPEATS:0
   - 1 TASK SCRIPT:WalkHome REPEATS:0
   - 1 TASK SCRIPT:ComplainAboutThings DELAY:10 DURATION:1
   - 1 TASK SCRIPT:ComplainAboutThings DELAY:10 DURATION:1
<pre>
}}


</pre>
[[Category:Denizen 0.7]]
}}

Latest revision as of 18:56, 3 September 2021

For more up-to-date information and full details on specific features (individual commands or tags, for example), check the Meta Documentation.

If you want a full tutorial to help get you set up, check out the Beginner's Guide text website.

If you need quick help, visit our Discord group.




This wiki is outdated, please view the tutorial videos/guide, meta documentation, or Discord group (all linked above) for up-to-date information!