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

SEEE

From Creatures Wiki
Jump to navigation Jump to search

SEEE is a CAOS command which tests, with the help of RNGE, if one agent can see another. It is used in Creatures 3/Docking Station.

Usage[edit]

Syntax: SEEE (int) first (agent) second (agent)

Returns 1 if the first agent can see the second, or 0 if it can't.

Example[edit]

From the empathic vendor's ear script:

** The Vendor's Ear
scrp 2 23 3 126
**this whole script will not fire unless ov00 is 1. The ear is set as 'on' by default, but it can be set as 'off' by clicking the relevant button on the main empathic vendor.
doif ov00 = 1
lock
sets va00 _p1_
seta va01 _p2_
inst
doif va01 <> null
targ ownr
rnge 1000
** Check to see if you can actually see the speaker, if not.. get one of the pods to make some food!
doif seee ownr va01 = 1
setv va99 1
endi


See also[edit]