Difference between revisions of "RegisterForCustomEvent - ScriptObject"
RegisterForCustomEvent - ScriptObject (edit)
Revision as of 07:35, 19 June 2019
, 07:35, 19 June 2019Corrected parameter name
imported>Plplecuyer |
imported>Ice Eyes m (Corrected parameter name) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function RegisterForCustomEvent(ScriptObject | Function RegisterForCustomEvent(ScriptObject akSender, CustomEventName asEventName) native | ||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
* | *akSender: The [[ScriptObject Script|ScriptObject]] that receives the event we want to also receive. | ||
*asEventName: The event we want relayed to us. This must be a raw string literal and may not be a variable. | *asEventName: The event we want relayed to us. This must be a raw string literal and may not be a variable. | ||