Paste #87: Checkpoint

Date: 2013/10/21 19:41:27 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


"CheckpointAssignment":
    type: assignment

    actions:
      on assignment:
      - trigger name:proximity state:true

    interact scripts:
    - 10 Checkpoint

Checkpoint:
    type: interact

    steps:
        checkpoint1:
            proximity trigger:
                Entry:
                    Script:
                    - flag player yethmers_respite_checkpoint:1
                    - NARRATE "<&b>Quest Given."
                    - WAIT 1
                    - NARRATE "<red>Objectives<&co><green> Search the ruins for Crasmers Compass."

YethmersRespiteCheckpoint:
    type: world
    events:
        on player respawns:
        - if <player.flag[yethmers_respite_checkpoint:1] == true {
            - TELEPORT player l@yethmers_respite_checkpoint:1
            - NARRATE "<&b>You've respawned!"
            }