Difference between revisions of "OnStoryDialogue - Quest"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Kiriwar
m (OnStoryDialogue doesn't work for player, only NPC.)
imported>Svarr
m (→‎See Also: added link to Actor Dialogue Event section of Category:Scenes)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
'''Member of:''' [[Quest Script]]
'''Member of:''' [[Quest Script]]


Event called when this quest is started via a dialogue story manager event.
Event called when this quest is started via a [[Actor Dialogue Event|dialogue story manager event]].


== Syntax ==
== Syntax ==
Line 25: Line 25:


== Note ==
== Note ==
This SM event does not fire when the player engages in dialogue with another actor; it is only between two NPCs.
*This event is called when actors (assuming the "Random Conversations" flag on their currently running package is set) find a valid conversation target.


== See Also ==
== See Also ==
*[[Quest Script]]
*[[Quest Script]]
*[[Scenes#Actor_Dialogue_Event|Using Actor Dialogue Event with scenes]]

Latest revision as of 17:05, 29 June 2016

Member of: Quest Script

Event called when this quest is started via a dialogue story manager event.

Syntax[edit | edit source]

Event OnStoryDialogue(Location akLocation, ObjectReference akActor1, ObjectReference akActor2)

Parameters[edit | edit source]

Examples[edit | edit source]

Event OnStoryDialogue(Location akLocation, ObjectReference akActor1, ObjectReference akActor2)
  Debug.Trace(akActor1 + " is in dialogue with " + akActor2)
endEvent

Note[edit | edit source]

  • This event is called when actors (assuming the "Random Conversations" flag on their currently running package is set) find a valid conversation target.

See Also[edit | edit source]