Jump to content

Events within Functions and vice versa. EOF errors


antstubell

Recommended Posts

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 checked

LightFire()

; function called

EndEvent

 

Function LightFire()

; stuff bring done

If… blah, blah…

; condition checked and if it is true

MyTimer()

; go to this function

Endif

EndFunction

 

Function MyTimer()

RegisterForUpdateGameTime(TimeToPass)

EndFunction

 

Event OnUpdateGameTime()

ValveObj.enable()

WaterIsBoiling.show()

UnregisterForUpdateGameTime()

 

EndEvent

EndFunction

; return to previous function

 

missing EOF at 'EndFunction'

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...