Background for Fallout 4
Member of the Keyword script
voidfunctionSendStoryEvent(LocationakLoc=NONE, ObjectReferenceakRef1=NONE, ObjectReferenceakRef2=NONE, intaiValue1=0, intaiValue2=0)Native

Description

Wiki Description

Sends an event to the story manager using this keyword and the passed-in extra values.

Documentation Comment

Sends this keyword as a story event to the story manager


Caveats


Parameters

LocationakLoc=NONE

CK Wiki Description

The Location to send with the event.

  • Default:None

ObjectReferenceakRef1=NONE

CK Wiki Description

The first ObjectReference to send with the event.

  • Default:None

ObjectReferenceakRef2=NONE

CK Wiki Description

The second ObjectReference to send with the event.

  • Default:None

intaiValue1=0

CK Wiki Description

The first value to send with the event.

  • Default:0

intaiValue2=0

CK Wiki Description

The second value to send with the event.

  • Default:0

Examples

; Send the event with no extra data
QuestEventProperty.SendStoryEvent()
; Send the event with only a single value
QuestEventProperty.SendStoryEvent(aiValue1 = 5)

Auto-Generated Example

Location myLocation__akLoc
ObjectReference myObjectReference__akRef1
ObjectReference myObjectReference__akRef2
int myInt__aiValue1
int myInt__aiValue2

myKeyword__toCallFunctionOn.SendStoryEvent(myLocation__akLoc, myObjectReference__akRef1, myObjectReference__akRef2, myInt__aiValue1, myInt__aiValue2)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.