enderalse/source/scripts/_00e_mq11a_sc21_setglobalontriggersc.psc

15 lines
318 B
Plaintext
Raw Normal View History

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