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

HHLD

From Creatures Wiki
Revision as of 05:04, 26 September 2016 by Allekha (talk | contribs) (Created page with "'''HHLD''' is a CAOS function that returns the creature which is holding hands with the pointer. ==Usage== Syntax: ''HHLD'' This returns the creature currently holding h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

HHLD is a CAOS function that returns the creature which is holding hands with the pointer.

Usage[edit]

Syntax: HHLD

This returns the creature currently holding hands with the Hand, or NULL if no creature is holding hands.

Example[edit]

In official agents, it is usually used to make sure that a creature does not use a door or other agent that moves creatures while holding hands, in order to prevent problems with moving the creature. It is also used by the Stinger code when stinging the Hand - if it isn't doing anything (such as guiding a creature), being stung will make it turn red for a few moments!

doif held = null and hhld = null and pure = 0
	targ pntr
	frat 1
	anim [22 23 24 25 24 23 22 0]
endi

See also[edit]