Background for Skyrim SE
Member of the ObjectReference script
voidfunctionSay(TopicakTopicToSay, ActorakActorToSpeakAs=NONE, boolabSpeakInPlayersHead=false)Native

Description

Wiki Description

Causes this reference to speak a topic as if it were the specified actor.

Don‘t put important statements in Topic Info fragment scripts of a say topic - they are often not processed correctly.

Documentation Comment

Has this object "say" the specified topic, as if spoken by the specified actor (if one is
provided, and potentially "speaking" in the player's head.


Caveats

CK Wiki - Notes

  • For full dialogue as a different actor, you probably want TalkingActivator.
  • If used on an actor and that actor attempts to initiate normal dialogue (for example a random greeting) while saying something through Say(), the game will crash to desktop.
  • ObjectReferences aren't exempt from the need for a SEQ file. If one hasn't been generated, the Say function may fail.

Parameters

  1. TopicakTopicToSay

    CK Wiki Description

    The topic the object should say

  2. ActorakActorToSpeakAs=NONE

    CK Wiki Description

    The actor this object reference should use to speak as (passed to topic conditions and used to select voices). This parameter is ignored if this function is called on an actor. If it is none, no actor will be used for conditions.

    • Default:None
  3. boolabSpeakInPlayersHead=false

    CK Wiki Description

    Should the voice come from within the player's head?

    • Default:False

Examples

; Have the actor say the topic
JoeBob.Say(HowdyTopic)
; Have the statue speak the topic as if it were the town guard
Statue.Say(HaltTopic, TownGuard)

Auto-Generated Example

Topic myTopic__akTopicToSay
Actor myActor__akActorToSpeakAs
bool myBool__abSpeakInPlayersHead

myObjectReference__toCallFunctionOn.Say(myTopic__akTopicToSay, myActor__akActorToSpeakAs, myBool__abSpeakInPlayersHead)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.