Jump to content

Capabilities of: OnTutorialEvent - ScriptObject


Recommended Posts

Oh a restricted portable weapons workbench. This could have been done with one relatively simple small script if i could just use the workbench closing as a trigger to do something. Course mind you it dousnt help that I am allergic to coding.

Link to comment
Share on other sites

You can probably use OnTutorialEvent for that case. something like this:

Event OnInit()
 RegisterForTutorialEvent()
endevent

Event OnTutorialEvent(String asEventName, Message aMessage)
 if (asEventName == "WeaponsWorkbenchExited")
  ;Do your stuff
 endif
 RegisterForTutorialEvent()
endEvent
Link to comment
Share on other sites

  • Recently Browsing   0 members

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