Welcome to the Creatures Wiki! Log in and join the community.
MIRA
Jump to navigation
Jump to search
MIRA is a CAOS command 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