SendModEvent: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Egocarib
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SendModEvent(string eventName, string strArg = "", float numArg = 0.0) native
Function SendModEvent(string eventName, string strArg = "", float numArg = 0.0) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 17: Line 17:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
;Send the an event called "HectorHitMe" with no other parameters
;Send the an event called "HectorHitMe" with no other parameters
SendModEvent("HectorHitMe")
SendModEvent("HectorHitMe")
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu