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

HIST WNAM

From Creatures Wiki
Jump to navigation Jump to search

HIST WNAM is a CAOS command that returns the name of the world where a given life event happened to a creature.

Usage[edit]

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

Returns the name of the world where event_no happened to moniker.

Example[edit]

The Creature History retrieves this information for import/export and warp events:

*where va03 is the event type, va00 is the event_no, and ov01 is the creature's moniker
doif va03 = 5 or va03 = 6 or va03 = 16 or va03 = 17
	sets va71 hist wnam ov01 va00
else
	sets va71 ""
endi

See also[edit]