Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
llde committed Aug 12, 2024
1 parent bf4567f commit 3fb5d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obse_command_doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -5980,7 +5980,7 @@ <h2><a id="Events">Event Handler Functions</a></h2>
<p><a id="RemoveEventHandler" class="f" href="http://cs.elderscrolls.com/index.php?title=RemoveEventHandler">RemoveEventHandler</a> - removes the specified script as an event handler for the specified event. Two optional arguments can be supplied as key::value pairs to filter events according to the target and/or object. If both filters are omitted, all event handlers matching the script and event will be removed. If only one filter is omitted, all handlers matching the script, event, and the other filter will be removed. Returns true if at least one matching event handler was found and removed, false otherwise.<br />
<code class="s">(removed:bool) RemoveEventHandler eventID:string functionScript:ref <span class="op">filter1:pair filter2:pair</span></code></p>

<p><span id="EventHandlerExist" class="f">EventHandlerExist</span> - checks if the specified script is set as an event handler for the specified event. Two optional arguments can be supplied as key::value pairs to filter events according to the target and/or object. If both filters are omitted, all event handlers matching the script and event will return true.<br />
<p><span id="EventHandlerExist" class="f">EventHandlerExist</span> - checks if the specified script is set as an event handler for the specified event. Two optional arguments can be supplied as key::value pairs to filter events according to the target and/or object. The command will match the specific event handler, so no partial filtering is allowed.<br />
<code class="s">(exists:bool) EventHandlerExist eventID:string functionScript:ref <span class="op">filter1:pair filter2:pair</span></code></p>

<p><a id="GetCurrentEventName" class="f" href="http://cs.elderscrolls.com/index.php?title=GetCurrentEventName">GetCurrentEventName</a> - When called from within an event handler, returns the name of the event currently being handled, as defined <a href="#Events">above</a>.<br />
Expand Down

0 comments on commit 3fb5d58

Please sign in to comment.