Welcome to the Creatures Wiki! Log in and join the community.
CABP
Jump to navigation
Jump to search
CABP is a CAOS command to do with lifts and planes.
Syntax[edit]
CABP (command) plane (integer)
Set the plane that vehicle passengers are at. This is relative to the vehicle's plane.
Example[edit]
From new lift script, in the installation of the lift object itself:
inst new: vhcl 3 1 1000 "tuto_new_lifts" 1 0 10 *Open air cabin attr 512 *Creatures can push and pull bhvr 3 *Define cabin properties cabn 0 0 122 151 cabp 50 cabw 10 *ov00 = lift state (0 = still; 1 = moving) setv ov00 0 *ov01 = current level (starts on bottom) setv ov01 0 *ov16 = what button you're travelling to seta ov16 null *Mark this lift for later seta va16 targ *Add gate that keeps creatures in (probably) pat: dull 1 "tuto_new_lifts" 1 0 0 200 *Add buttons pat: dull 2 "tuto_new_lifts" 2 90 65 1 *Move to desired location mvto 74160 71485