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

PUHL

From Creatures Wiki
Jump to navigation Jump to search

PUHL is a CAOS command in Creatures 2, Creatures 3, Docking Station, and Creatures Village, and it is to do with the 'pickup handle' (where the hand grasps when it picks an object up). It can be used in two ways - to set the pickup handle, and to return the pickup handle. As of Creatures 2, PUHL could only be used with simple objects.

Syntax[edit]

PUHL (command) POSE (integer) X (integer) Y (integer)

Set the relative x and y coordinate of the handle that target is picked up by, for the given pose. This pose is measured from the absolute base specified in the NEW: commands (NEW: SIMP, NEW: COMP), rather than the relative base specified by the BASE command. Pose -1 sets the same point for all poses.


PUHL (integer) POSE (integer) X_OR_Y (integer)

Returns the x or y coordinate of the handle that target is picked up by for the given pose. x_or_y is 1 for x, 2 for y. The pose is measured from the absolute base specified in the NEW: commands, rather than the relative base specified by the BASE command.

Example[edit]

See also[edit]