HasBeenSaid - TopicInfo

Revision as of 14:12, 17 November 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: TopicInfo Script

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

SyntaxEdit

bool Function HasBeenSaid() native

ParametersEdit

None.

Return ValueEdit

True the topicinfo has been said to the player

ExamplesEdit

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

NotesEdit

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 AlsoEdit