15 lines
318 B
Plaintext
15 lines
318 B
Plaintext
|
Scriptname _00E_MQ11a_SC21_SetGlobalOnTriggerSC extends ObjectReference
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
|
||
|
if akActionRef == Game.GetPlayer() && !Done
|
||
|
GlobalToSet.SetValue(ValueToSet)
|
||
|
Done = True
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
bool Done
|
||
|
|
||
|
GlobalVariable Property GlobalToset Auto
|
||
|
int Property ValueToSet Auto
|