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


From Creatures Wiki
Jump to navigation Jump to search

PAT: TEXT is a C3 CAOS command used in compound objects to create a text entry part. Gains the focus when you click on it, or with the FCUS command. Sends the message_id when return is pressed - a good place to use PTXT to get the text out, and to set the focus elsewhere. Set message_id to 0 to not call any script, or to -1 to not send any message and instead insert a carriage return.


PAT: TEXT (command) part_id (integer) sprite_file (string) first_image (integer) rel_x (decimal) rel_y (decimal) rel_plane (integer) message_id (integer) font_sprite (string)

External links[edit]