Paste #46752: Trying to stop an entry proximity trigger upon exit.

Date: 2018/02/27 22:07:32 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


King_Alsterix_npc:
    type: assignment
    actions:
        on assignment:
        - trigger name:proximity state:true radius:2
    interact scripts:
    - 10 myinteract

myinteract:
    type: interact
    steps:
        1:
            proximity trigger:
                exit:
                    script:
                    - chat "I see your stature and trust you can accomplish this simple quest… one of many."
                    - queue clear
                entry:
                    script:
                    - chat "Welcome to Kingdoms fair traveler!" 
                    - wait 2s 
                    - chat "I see you have traversed many servers!" 
                    - wait 2s 
                    - chat "I guess you could call them worlds? This world has come under great strife, with a long wrought history!" 
                    - wait 4s
                    - chat "I used to be a great ruler over a long lost kingdom! Now I am just a guide to tell you with which to seek your path."
                    - wait 4s
                    - chat "You must talk to all of the individuals in this room, to better understand The World, before you can make your decision!" 
                move:
                    script:
                    - look <npc> <player.location>