HasBeenSaid - TopicInfo

From the Fallout4 CreationKit Wiki
Revision as of 14:12, 17 November 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: TopicInfo Script

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

Syntax[edit | edit source]

bool Function HasBeenSaid() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

True the topicinfo has been said to the player

Examples[edit | edit source]

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

Notes[edit | edit source]

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[edit | edit source]