SendStoryEvent - Keyword: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Fg109
(add note)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SendStoryEvent(Location akLoc = None, ObjectReference akRef1 = None, ObjectReference akRef2 = None, \
Function SendStoryEvent(Location akLoc = None, ObjectReference akRef1 = None, ObjectReference akRef2 = None, \
   int aiValue1 = 0, int aiValue2 = 0) native
   int aiValue1 = 0, int aiValue2 = 0) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 27: Line 27:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Send the event with no extra data
; Send the event with no extra data
QuestEventProperty.SendStoryEvent()
QuestEventProperty.SendStoryEvent()
</source>
</syntaxhighlight>
<br/>
<br/>
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Send the event with only a single value
; Send the event with only a single value
QuestEventProperty.SendStoryEvent(aiValue1 = 5)
QuestEventProperty.SendStoryEvent(aiValue1 = 5)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu