Jump to content

Major Monk

Resident
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

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

  1. I have a script that I have been working on and I am at a loss. What the script is to do is scan the area around the Main object (call it MObject) for a second object (call it Kelp). Now Kelp is an object that has a script in it to do certian things for so long and then it automaticly disapears. Then MObject comes up with a scan that shows that it is no longer present. Once it finds out it then rezzes a brand new Kelp in that scan area. So here is the problem, I have the scan down, I can get it to rez a new Kelp. Problem is, is that when I put the multi Kelp objects into the MObject it changes the name from Kelp to Kelp 1. Well I know that either I need to have the code look for an object in inventory called Kelp*.* or I need to have an if statement that tells it to rez Kelp and if thats not in the inventory then rez Kelp 1 etc etc. Here is the rez line that I am using. llRezObject("kelp", llGetPos() + <0, 0,.5>, ZERO_VECTOR, ZERO_ROTATION, 42); Can anyone give me a means of re writing that so that it will work? I have been reeding pages upon pages or code that looks at strings and things being said in local and I can not see how any of that can help.
×
×
  • Create New...