- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


Titlesecond abortion
TypeDenizen Script
Date2015/05/03 14:41:48 UTC-07:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2700
#Resets Az to his default position.
"azReset":
    type: task
    script:
    - heal <server.flag[azBoss]>
    - teleport <server.flag[azBoss]> <server.flag[azBoss].as_npc.flag[spawnLocation]>
    - if <server.flag[azBoss].as_npc.flag[azDead]> == true {
        - flag <server.flag[azBoss].as_npc.flag[azDead]>:false
        }
    - execute as_server "npc sel <server.flag[azBoss]>"
    - execute as_server "sentry target clear"
    - execute as_server "npc effect --play none"
    - execute as_server "sentry target clear"
    - flag <server.flag[azBoss]> <server.flag[azBoss].as_npc.flag[Stage]>:Zero
    
    
"azBossResetHandler":
    type: world
    
    events:
        on player enters azArena:
        - Narrate "You feel a sick presence in the air around you."
        
        on player exits azArena:
        - Narrate "The air thins."
        - run "azReset"



RawRaw



Pastes made: 55652