Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Radar Script

Hans Zinnemann
ASP C# SQL XML & now LSL
Join date: 10 Jan 2007
Posts: 10
10-24-2008 07:50
Hi.

Does anyone want to show me a simple radar script, i.e. using sensor(), which displays distance and bearing of each agent or object?

Thanks for any help.

Hans
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
10-24-2008 23:17
distance is easy (llVecDist along with llGetPos and llDetectedPos)

bearing a little less so (modified compass script, llGetPos, llDetectedPos, get the angle bewteen them... there are methods listed on these forums)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -