antstubell Posted October 20, 2019 Share Posted October 20, 2019 Maybe you guys can help me from this short idea of the large script I am using.If you need the entire script I will post it but here is a summary. Event OnActivate(ObjectReference akActionRef); event is called; stuff being checkedLightFire(); function calledEndEvent Function LightFire(); stuff bring doneIf… blah, blah…; condition checked and if it is trueMyTimer(); go to this functionEndif EndFunction Function MyTimer()RegisterForUpdateGameTime(TimeToPass)EndFunction Event OnUpdateGameTime()ValveObj.enable()WaterIsBoiling.show()UnregisterForUpdateGameTime() EndEventEndFunction; return to previous function missing EOF at 'EndFunction' Link to comment Share on other sites More sharing options...
maxarturo Posted October 20, 2019 Share Posted October 20, 2019 Remove your last "ENDFUNCTION" in the script. Link to comment Share on other sites More sharing options...
Recommended Posts