Difference between revisions of "Keyword Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jog
imported>Behippo
(→‎SKSE Member Functions: Added SKSE Member Function list)
Line 24: Line 24:
'''bool Function [[SendStoryEventAndWait - Keyword|SendStoryEventAndWait]](Location akLoc, ObjectReference akRef1, ObjectReference akRef2, int aiValue1, int aiValue2)'''
'''bool Function [[SendStoryEventAndWait - Keyword|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.
*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 ==
'''string Function [[GetString - Keyword|GetString]]()'''
*Returns the string associated with the keyword.


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

Revision as of 03:01, 10 May 2012


Extends: Form Script

Script for the manipulation of keyword objects.

Definition

ScriptName Keyword extends Form

Properties

None

Global Functions

None

Member Functions

Function 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(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

string Function GetString()

  • Returns the string associated with the keyword.

Events

None