Jump to content

Eevel

Resident
  • Posts

    13
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Awesome thanks everyone that had usefull things to say, figured it out.
  2. Im not involved in any hunting game not sure what these other commenters are posting for.
  3. Rezzing items is not an option. So it needs to be all in a script which where the items are placed scripts are allowed. Ill tighten up the scan range. Dora suggested something that may work or point me in the right direction still fairly new to scripting so would need help implementing the LLMapDestination into the code so that the returned cordinantes of the scanned obejects can be mapped or put a beacon on them. Also maybe a way to scan for objects by creator?
  4. I found this code somewhere which sort of does what I want however would like to tweak it a bit. It scans and shows 16 items in a 96m range. Results show like this Prim Owner Monitoring (Relay) - Location: <129.50000, 42.25000, 38.73722> - Range: 39(m) I need to know how to make the location coordinates of the returned objects into a clickable link so I can teleport to the object or place a beacon on the object or some way to locate the scanned objects because as of now its just text no way to pinpoint the actual object. Or maybe tweak the script to only scan and list ojbects made by a certain avatar. My goal is to be able to scan for objects on a sim made by and individual rather then owner because the owner varys across sims. The area search feature of pheonix doesnt have the option of searching for ojbects by creator. After the scan be able to click the location and teleport or place a beacon or some way to pinpoint the object after the scan. Thanks integer i; vector avPos; vector rPos; integer avDistance; default { state_entry() { } touch_start(integer total_number) { if (llDetectedOwner(0) == llGetOwner()) { llSensor("", NULL_KEY, PASSIVE | SCRIPTED | ACTIVE, 97, PI); } } sensor(integer total_number) { llOwnerSay("Scanning up to 16 objects within 96 meters"); llOwnerSay( (string)total_number + " objects detected" ); for (i = 0; i < total_number; i++) { avPos = llDetectedPos(i); rPos = llGetPos(); vector avDivPos = (avPos - rPos) * 0.010417; avDistance = (integer) llVecDist(rPos, llDetectedPos(i)); llOwnerSay("" + llDetectedName(i) + " - Location: " + (string)llDetectedPos(i) + " - Range: " + (string)avDistance + "(m)"); } } no_sensor() { llOwnerSay("Nothing Detected."); } } 22> - Range: 39(m)
×
×
  • Create New...