Paste #12964: I have an issue with the proximity trigger, which doesn't seem to work.

Date: 2015/01/15 10:31:33 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


# Simple proximity trigger doesn't work. I've set up this script to check, but there is still no luck.
# I've even set the trigger on NPC manually on, and still no luck, did the trig

ProximityCheck:
    type: assignment
    interact scripts:
    - 1 Prox
Prox:
    Type: interact
    Steps:
        1:
            proximity triger:
                enter:
                    script:
                    - CHAT "Hello dear friend!"
                    - Wait 1
                    - CHAT "As you can see the proximity works!"
                exit:
                    script:
                    - CHAT "Good Bye!"