User:Aufdemrand: Difference between revisions
From Citizens Wiki
Aufdemrand (talk | contribs) Created page with "==== Using a Task Script with PLAYERTASK ==== <div style="margin-right:2.0em; padding:10px; font-family:museo-sans; font-size:110%;"> Note: This functionality has majorly ch..." |
(No difference)
|
Latest revision as of 17:56, 14 August 2012
Using a Task Script with PLAYERTASK
Note: This functionality has majorly changed in Denizen 0.7. Keeping here for a chance to rewrite, but consider this below unusable.
Tasks scripts are very straight forward when using with a PLAYERTASK command. The script that is called when the 'player task' is complete is a Task script.
'Graveyard Investigation':
Type: Trigger
Requirements:
Mode: NONE
Steps:
'1':
Click Trigger:
Script:
- CHAT Go investigate the graveyard for me!
- PLAYERTASK LOCATION graveyard 20 120 Graveyard Search
'Graveyard Search':
Type: Task
Script:
- NARRATE You are thoroughly spooked out. Maybe you should return to Dave.
- FINISH
'Graveyard Investigated Complete':
Type: Trigger
Requirements:
Mode: All
List:
- FINISHED Graveyard Search
Steps:
'1':
Click Trigger:
Script:
- CHAT Ahhh, dang. You couldn't find anything? Ah well, thanks for your help!