enderalse/source/scripts/_00e_mq13c_sc07_turretsc.psc

35 lines
954 B
Plaintext

;/ Decompiled by Champollion V1.0.1
Source : _00E_MQ13c_SC07_TurretSC.psc
Modified : 2015-06-02 11:34:09
Compiled : 2015-06-02 11:34:17
User : nilietzau
Computer : MUC-A-1045
/;
scriptName _00E_MQ13c_SC07_TurretSC extends ObjectReference conditional
;-- Properties --------------------------------------
_00e_mq13c_functions property MQ13c auto
Bool property bPlayerOnSurface auto conditional
;-- Variables ---------------------------------------
;-- Functions ---------------------------------------
function OnTriggerLeave(ObjectReference akActionRef)
if akActionRef == game.GetPlayer() as ObjectReference && MQ13c.GetStage() >= 100
bPlayerOnSurface = false
endIf
endFunction
; Skipped compiler generated GotoState
; Skipped compiler generated GetState
function OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == game.GetPlayer() as ObjectReference && MQ13c.GetStage() >= 100
bPlayerOnSurface = true
endIf
endFunction