Welcome to the Creatures Wiki! Log in and join the community.

HIST UTXT

From Creatures Wiki
Jump to navigation Jump to search

HIST UTXT is a CAOS command that sets or returns the text associated with a given life event for a creature with a given moniker.

Usage[edit]

Set[edit]

Syntax: HIST UTXT moniker(str) event_no(integer) new_value(str)

Sets the text of event_no for moniker to be new_value

Return[edit]

Syntax: HIST UTXT moniker(str) event_no(integer)

Returns the text associated with event_no for moniker.

Example[edit]

The Fast Ager Trap sets a custom event with custom text when a suspected fast-ager is found:

*where va00 is the moniker of the creature
hist evnt va00 166 "" ""
setv va05 hist coun va00
subv va05 1
hist utxt va00 va05 "Quarantined"