Difference between revisions of "Keyword Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Behippo
imported>PurpleLunchbox
Line 2: Line 2:
[[Category:Papyrus]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Script Objects]]
[[Category:SKSE]]


'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]

Revision as of 22:03, 13 May 2012


Extends: Form Script

Script for the manipulation of keyword objects.

Definition

ScriptName Keyword extends Form

Properties

None

Global Functions

None

SKSE Global Functions

Keyword Function GetKeyword(string key)

  • Returns the keyword associated with the string.

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