parent
189fbda45a
commit
0920167a39
43 changed files with 163 additions and 108 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,16 +1,17 @@ |
||||
Scriptname _00E_LightSwitchSecondaryScript extends ObjectReference |
||||
|
||||
Actor Property PlayerRef Auto |
||||
Keyword Property LinkKeyword Auto |
||||
|
||||
Event OnTriggerEnter(ObjectReference akActionRef) |
||||
if akActionRef == PlayerRef |
||||
(GetLinkedRef() as _00E_LightSwitchMainScript).TurnSwitchOn() |
||||
(GetLinkedRef(LinkKeyword) as _00E_LightSwitchMainScript).TurnSwitchOn() |
||||
EndIf |
||||
EndEvent |
||||
|
||||
Event OnTriggerLeave(ObjectReference akActionRef) |
||||
if akActioNRef == PlayerRef |
||||
(GetLinkedRef() as _00E_LightSwitchMainScript).TurnSwitchOff() |
||||
(GetLinkedRef(LinkKeyword) as _00E_LightSwitchMainScript).TurnSwitchOff() |
||||
EndIf |
||||
EndEvent |
||||
|
||||
|
@ -0,0 +1,17 @@ |
||||
Scriptname _00E_LightSwitchTertiaryScript extends ObjectReference |
||||
|
||||
Actor Property PlayerRef Auto |
||||
Keyword Property LinkKeyword Auto |
||||
|
||||
Event OnTriggerEnter(ObjectReference akActionRef) |
||||
if akActionRef == PlayerRef |
||||
(GetLinkedRef(LinkKeyword) as _00E_LightSwitchMainScript).TurnSwitchOn() |
||||
EndIf |
||||
EndEvent |
||||
|
||||
Event OnTriggerLeave(ObjectReference akActionRef) |
||||
if akActioNRef == PlayerRef |
||||
(GetLinkedRef(LinkKeyword) as _00E_LightSwitchMainScript).TurnSwitchOff() |
||||
EndIf |
||||
EndEvent |
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue