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


From Creatures Wiki
Jump to navigation Jump to search

HIST TYPE is a CAOS command that returns the type of a given life event.


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

Returns an integer from 0 (creature conceived) to 17 (warped in) depending on what the event is. Numbers above 100 can be used for custom life events set with HIST EVNT.


From the DS life event factory:

setv va00 hist type _p1_ _p2_
*if a creature has been born
doif va00 = 3
	strk 30 "ds_music.mng\\Bleep"
*if a creature has died
elif va00 = 7
	strk 20 "ds_music.mng\\MetallicChords"