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

HIST EVNT

From Creatures Wiki
Jump to navigation Jump to search

HIST EVNT is a CAOS command that triggers a life event for a creature with a given moniker. This can be one of the built-in life events or a custom type.

Usage[edit]

Syntax: HIST EVNT moniker(str) event_no(integer) related_moniker_1(str) related_moniker_2(str)

Triggers a life event for moniker and calls the life event script. event_no can be one of the built-in life events or a custom type.

Example[edit]

The Fast Ager Trap sets off a custom event (numbered 166) when a suspected fast-ager is found:

*where va00 is the moniker of the creature
hist evnt va00 166 "" ""