P3D-Legacy/P3D/Content/Data/Scripts/underground/switchend.dat

27 lines
1.4 KiB
Plaintext

version=2
@Text.show(It's labeled~Emergency.*Press it?)
@Options.show(Yes,No)
:when:Yes
@entity.setvisible(7,0)
@entity.setvisible(10,0)
@entity.setvisible(15,0)
@entity.setvisible(11,0)
@entity.setvisible(14,0)
@entity.setvisible(12,0)
@entity.setvisible(17,0)
@entity.setcollision(7,0)
@entity.setcollision(10,0)
@entity.setcollision(15,0)
@entity.setcollision(11,0)
@entity.setcollision(14,0)
@entity.setcollision(12,0)
@entity.setcollision(17,0)
@sound.play(shutter)
:if:<register.registered(GolUndSwitchEnd)>=True
@register.unregister(GolUndSwitchEnd)
:else
@register.unregister(GolUndSwitchEnd)
:endif
:when:No
:endwhen
:end