Paste #88708: Sneak-On-Radius NPC

Date: 2021/10/07 16:56:08 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste Edit Of Paste 86238 View Edit Report
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13


sneak_on_radius_npc:
    type: assignment
    debug: false
    actions:
        on assignment:
        - trigger name:proximity state:true radius:15
        on spawn:
        - wait 1t
        - sneak <list[<npc>].include[<npc.name_hologram_npc||<list>>].include[<npc.hologram_npcs||<list>>].filter[is_spawned]> start fake
        on enter proximity:
        - sneak <list[<npc>].include[<npc.name_hologram_npc||<list>>].include[<npc.hologram_npcs||<list>>].filter[is_spawned]> stop fake for:<player>
        on exit proximity:
        - sneak <list[<npc>].include[<npc.name_hologram_npc||<list>>].include[<npc.hologram_npcs||<list>>].filter[is_spawned]> start fake for:<player>