Difference between revisions of "RegisterForCustomEvent - ScriptObject"

m
Corrected 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 akEventSource, CustomEventName asEventName) native
Function RegisterForCustomEvent(ScriptObject akSender, CustomEventName asEventName) native
</source>
</source>


== Parameters ==
== Parameters ==
*akEventSource: The [[ScriptObject Script|ScriptObject]] that receives the event we want to also receive.
*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.


Anonymous user