Paste #22452: Waypoints resume

Date: 2015/11/10 19:02:27 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


nvtest_as:
  type: assignment
  actions:
    on assignment:
    - trigger name:click state:true
    - trigger name:chat state:true
  interact scripts:
  - 10 nv_it

nv_it:
  type: interact
  steps:
    1:
      click trigger:
        script:
        - narrate "Hello <player.name>"
        - narrate "I stop now."
        - pause waypoints
        - narrate "Wating 5 seconds."
        - wait 5s
        - narrate "Resuming."
        - resume waypoints

nvi_p:
  script:
  - ~walk l@-13,72,151,world
  - ~walk l@-13,72,148,world
  - ~walk l@-17,72,145,world
  - ~walk l@-18,72,140,world
  - ~walk l@-22,72,140,world
  - ~walk l@-18,72,144,world
  - ~walk l@-15,72,148,world
  - ~walk l@-13,72,152,world
  type: task