Jump to content

AllBlackSkiMask

Resident
  • Posts

    10
  • Joined

  • Last visited

Posts posted by AllBlackSkiMask

  1. 18 minutes ago, Rolig Loon said:

    When you write your script, have it check first to see if llGetAgentInfo(my_UUID) & AGENT_MOUSELOOK  is TRUE.  Then, if it is, look at llGetCameraRot.  You should be able to do something like this:
     

    
    rotation Rot  = llGetCameraRot();
    vector vRot = llRot2Euler(Rot);
    if (vRot.x < 0.0 || vRot.y < 0.0)
    {
        //Camera is pointed down, so play the "down" anim
    }
    else
    {
        //Camera is pointed up, so play the "up" anim
    }

    It's a little trickier than that, because you'll have to ask PERMISSION_TRIGGER_ANIMATION and add some code to give you a little wiggle room between "up" and "down" when you don;t want either anim to play, but that's the general idea.

    Very helpful ill give this a go in a few.

  2. 11 minutes ago, Rolig Loon said:

    A scripted object can send an object from its inventory to another object or to an avatar anywhere on the same region with llGiveInventory.  It cannot send an object to another object outside the region, but it can send to an avatar anywhere in SL, again using llGiveInventory.  As long as you don't need to get involved with messaging too, that should be enough to handle your project.

    i dont know how it would be other than giving them what i dont want them to have the access to just buy the product from marketplace and take the finished creation from the contents i've seen it done to where an object can send regionwide items

  3. 1 hour ago, Innula Zenovka said:

    If the dropbox is on the same region, then simply have the stove use llRegionSay to tell the dropbox what to send and to where.   You can either send it to whoever is using the stove or have it rez on top of the stove, depending on how you want to do it.

    If the dropbox is on a different region, then it's still possible to send the food to the avatar using the stove, who would then need to rez it.  It's rather more complex, though, so I won't go into the process unless that's what you want to do.

    I figured complex is somewhat a safelock but im hoping to achieve to be able to send the food to the avatar using the stove  from a dropbox or anyway i can from another region

  4. On 10/7/2018 at 10:35 AM, Innula Zenovka said:

    I'm not sure I understand the question.

    If you want a script to run in a no-script zone, it needs to be in something the avatar is wearing or sitting on before it enters the no-script zone.  Then it's simply a matter of calling llRequestPermissions(id, PERMISSION_TAKE_CONTROLS)  when the object is first attached/sat on and then calling llTakeControls in the run_time_permissions event.

    I don't understand what you mean by " i wish it was a easy way to send a object thats not inside of the objects contents".    Can you please explain more specifically what you are trying to do?  There's all sorts of ways for a script in one object to tell a script in a second object to send  something in the second object's contents to an avatar.

    7

     

    what i mean by " i wish it was a easy way to send a object thats not inside of the objects contents". is to have a non copy,modify item able to be sent from a different location from a dropbox of a such once a trigger is received from another sim 

    an example would be. (you rez a stove > cook some food > you have to rez the ingredients > the ingredients disappear > the item you cooked is rezzed > it privately say's a trigger word or sends a message to a dropbox > you receive the item from a different location with the same name as the item you cooked that was rezzed.)

  5. 6 hours ago, Innula Zenovka said:

    But the object will be of pretty limited use if it can survive only in no-script areas.   OK, you can rez it in a no-script area but as soon as you take it out of the no-script zone, then it will vanish.

    And if you're really worried about it being rezzed in a no-script area, you can always set things up so the script has to run for it to be any use (e.g. use the script's on_rez event to make it visible, texture it, set it to the correct size, and so on).

    do you think its easy to implement a run in no script zone script into this?  i wish it was a easy way to send a object thats not inside of the objects contents but i dont have a solution yet for that.

  6. Im trying to configure a script that will De-rez a object if a avatar were to try and cheat the system and go into the objects contents to retrieve the object they have to work for that they own.

    I Want only the object able to rez the temp rez item.

    So im hoping to form or get help forming a script that will de rez/delete a prim rezzed by avatar but give a object to that avatar if the object is rezzed from the prim itself.

×
×
  • Create New...