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

Difference between revisions of "MIRA"

From Creatures Wiki
Jump to navigation Jump to search
(Created page with "MIRA is a CAOS command used in DS to mirror sprite images. ==Usage== MIRA (command) ON_OFF (integer) Tell the agent to draw the current sprite mirrored (send 1 as a parame...")
 
(No difference)

Latest revision as of 06:21, 19 February 2020

MIRA is a CAOS command used in DS to mirror sprite images.

Usage[edit]

MIRA (command) ON_OFF (integer) Tell the agent to draw the current sprite mirrored (send 1 as a parameter) or normally (send 0 as a parameter) MIRA (integer) Is the current sprite for this agent mirrored (returns 1) or not (returns 0)

Examples[edit]

doif rand 0 1 eq 1
	mira 1
endi

From the Substitute Doll (teardown):

mira rand 0 1