Difference between revisions of "OnActorAction - Form"

Jump to navigation Jump to search
19 bytes removed ,  01:28, 26 August 2013
m
Minor Formatting Change
imported>CraftySentinel
m (Added Missing SKSE Category)
imported>CraftySentinel
m (Minor Formatting Change)
Line 7: Line 7:
Listens for actor actions, for this event to be received the form must have been registered previously via [[RegisterForActorAction - Form|RegisterForActorAction]].
Listens for actor actions, for this event to be received the form must have been registered previously via [[RegisterForActorAction - Form|RegisterForActorAction]].


== Syntax ==
=== Syntax ===
<source lang="papyrus">Event OnActorAction(int actionType, Actor akActor, Form source, int slot)</source>
<source lang="papyrus">Event OnActorAction(int actionType, Actor akActor, Form source, int slot)</source>


== Parameters ==
=== Parameters ===
*actionType - The actionType that triggered the event (See [[RegisterForActorAction - Form| RegisterForActorAction]] for a list of available action types).
*actionType - The actionType that triggered the event (See [[RegisterForActorAction - Form| RegisterForActorAction]] for a list of available action types).
*akActor - The actor that triggered the event (Always the Player).
*akActor - The actor that triggered the event (Always the Player).
Line 19: Line 19:
** 2 - Voice
** 2 - Voice


== Return Value ==
=== Examples ===
None
 
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
Event OnInit()
Event OnInit()

Navigation menu