HasBeenSaid - TopicInfo

From Creation Kit
Jump to: navigation, search

Member of: TopicInfo Script

Returns whether this topic info has been said by the player before or not.

Syntax

bool Function HasBeenSaid() native

Parameters

None.

Return Value

True the topicinfo has been said to the player

Examples

if (HasBeenSaid())
  Debug.Trace("Player has heard the info before!")
endIf

Notes

If you call this in a topic info's end fragment, it will always return true, since by the time the fragment runs the info has been said. If you want to know if an info has been said in the end fragment, use the abHasBeenSaid parameter instead.

See Also