TopicInfoSetPrompt

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Sets or returns value of "Said once" of specified TopicInfo.

Syntax

[help]
(Prompt:string) TopicInfoSetPrompt TopicInfo:form Prompt:string

Example

TopicInfoSetPrompt 15CB5B "My custom prompt" 

Will set "MyCustomPrompt" to one of the Sunny Smiles goodbyes topic infos.

let s_Prompt := TopicInfoSetPrompt 15CB5B  

Will return prompt of Sunny Smiles goodbye topic(empty by default).

Notes

  • Topic Text can be changed via SetName if called on Topic. Current prompt could be returned by GetName.
  • Changes made by this functions are not saved within a savegame and persistent throughout the gamesession.