16 lines
352 B
Plaintext
16 lines
352 B
Plaintext
|
ScriptName _00E_OptimierungstriggerboxOpposite extends ObjectReference
|
||
|
|
||
|
ObjectReference Property Linker Auto
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
if akActionRef == Game.GetPlayer()
|
||
|
Linker.Enable()
|
||
|
EndIf
|
||
|
EndEvent
|
||
|
|
||
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
||
|
if akActioNRef == Game.GetPlayer()
|
||
|
Linker.Disable()
|
||
|
EndIf
|
||
|
EndEvent
|