Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Lookat on command?

Huna Kongo
Registered User
Join date: 5 Jul 2005
Posts: 2
09-09-2005 16:38
Im a total noob with LSL and i was wondering if there was any easy way to have an object look at a designated avatar on command. Any help would be greatly appreciated
a lost user
Join date: ?
Posts: ?
09-09-2005 17:11
first of all have a look at the command: http://secondlife.com/badgeo/wakka.php?wakka=llLookAt

All you need now is way to find the target position, like in the example on the wiki.
You can do this with any of the detection functionality of LSL: Touch, Sensor, Collision.

http://secondlife.com/badgeo/wakka.php?wakka=llDetectedPos