You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion: add syntax to allow adding event handlers directly.
Event handlers are probably the best feature that has been added to OBSE in recent years. However, unfortunately, it does not completely eliminate the need to use quest scripts for handling events: you still need to call SetEventHandler somewhere. I suggest making a syntax that would allow xOBSE to register handlers at game startup automatically, for example:
scn NewSyntaxExample
String_var filename
begin SetEventHandler_LoadGame { filename }
...
end
The text was updated successfully, but these errors were encountered:
Adding a block for every event is unfeasible unless I can patch the compiler to interpret that.
Otherwise we could rely on a begin OnEvent "event" filter1 filter2
Suggestion: add syntax to allow adding event handlers directly.
Event handlers are probably the best feature that has been added to OBSE in recent years. However, unfortunately, it does not completely eliminate the need to use quest scripts for handling events: you still need to call SetEventHandler somewhere. I suggest making a syntax that would allow xOBSE to register handlers at game startup automatically, for example:
The text was updated successfully, but these errors were encountered: