Keyword Script: Difference between revisions

Jump to navigation Jump to search
363 bytes added ,  24 October 2013
m
Formatting Change
imported>Kahmul
m (key -> asKeyword)
imported>CraftySentinel
m (Formatting Change)
Line 21: Line 21:


== SKSE Global Functions ==
== SKSE Global Functions ==
'''Keyword Function [[GetKeyword - Keyword|GetKeyword]](string asKeyword)'''
 
*Returns the keyword associated with the string.
{|class="wikitable" width =100%
!style="text-align:left;"|Function
!style="text-align:left;"|Description
|-
|[[GetKeyword - Keyword|Keyword '''GetKeyword'''(String ''asKeyword'')]]
|Returns the keyword associated with the string.
|-
 
|}


== Member Functions ==
== Member Functions ==
'''Function [[SendStoryEvent - Keyword|SendStoryEvent]](Location akLoc, ObjectReference akRef1, ObjectReference akRef2, int aiValue1, int aiValue2)'''
*Sends this keyword as a story event to the story manager.


'''bool Function [[SendStoryEventAndWait - Keyword|SendStoryEventAndWait]](Location akLoc, ObjectReference akRef1, ObjectReference akRef2, int aiValue1, int aiValue2)'''
{|class="wikitable" width =100%
*Sends this keyword as a story event to the story manager and waits for it to be processed. Returns true if a quest was started.
!style="text-align:left;"|Function
!style="text-align:left;"|Description
|-
|[[SendStoryEvent - Keyword|'''SendStoryEvent'''(Location ''akLoc'', ObjectReference ''akRef1'', ObjectReference ''akRef2'', Int ''aiValue1'', Int ''aiValue2'')]]
|Sends this keyword as a story event to the story manager.
|-
 
|[[SendStoryEventAndWait - Keyword|Bool '''SendStoryEventAndWait'''(Location ''akLoc'', ObjectReference ''akRef1'', ObjectReference ''akRef2'', Int ''aiValue1'', Int ''aiValue2'')]]
|Sends this keyword as a story event to the story manager and waits for it to be processed. Returns true if a quest was started.
|-
 
|}


== SKSE Member Functions ==
== SKSE Member Functions ==
'''string Function [[GetString - Keyword|GetString]]()'''
 
*Returns the string associated with the keyword.
{|class="wikitable" width =100%
!style="text-align:left;"|Function
!style="text-align:left;"|Description
|-
|[[GetString - Keyword|String '''GetString'''()]]
|Returns the string associated with the keyword.
|-
 
|}


== Events ==
== Events ==
None
None

Navigation menu