Could someone mentor me on this one a little?
Currently Im thinking around the idea of following pseudo-code but need help with real syntax/functions.
Trigger:
ingredient Property itemX autoEvent OnTrigger(ObjectReference akActionRef) if(akActionRef == itemX) VAR = true endifEndEventEvent OnTriggerLeave(ObjectReference akActionRef) if(akActionRef == itemX) VAR = false endifEndEvent
Activator:
Event OnActivate(ObjectReference akActionRef) if(VAR == true) ; do something delete itemX in the trigger VAR = false; endifEndEvent
Issues: How would i set a global variable (VAR) to true? How do I delete the object in the trigger?
Would love help!
