oOLukeOo Posted July 5, 2016 Share Posted July 5, 2016 I have made a Hud that Rezzes an Object on touch and was trying to get it to Derez the same object when touched again, Like a Toggle Rez/Derez. I've been having some trouble. I was trying to use llDie but can only get it to work by clicking the actual Object to derez it not the Hud Button. Would combining llDie with llGetInventoryName Work?Thanks so much for any Help or Advice. :) Link to comment Share on other sites More sharing options...
Rolig Loon Posted July 5, 2016 Share Posted July 5, 2016 There is no "derez". There is only llDie. So, you need a script in your rezzed object that will tell it to commit suicide on command. Then you can decide whether to give the command by clicking on the object or by sending it a chat message or by whacking it with a pointy stick or by simply letting a timer run out. I'm not sure how you are thinking that combining llDie with llGetInventoryName might work, but if you have a clever idea, try it. 1 Link to comment Share on other sites More sharing options...
oOLukeOo Posted July 5, 2016 Author Share Posted July 5, 2016 That's what I thought So would it be possible to put a Die script in the object and give the command by clicking the hud button? Like if the button where to send out a Chat channel message and the object hears that and dies? I don't know what i was thinking either, No Surprise that failed too A lot of Trial and error. Link to comment Share on other sites More sharing options...
Rolig Loon Posted July 5, 2016 Share Posted July 5, 2016 oOLukeOo wrote: [ .... ] So would it be possible to put a Die script in the object and give the command by clicking the hud button? Like if the button where to send out a Chat channel message and the object hears that and dies? [ .... ] Certainly. That's how I would normally do it. Your object doesn't care how it receives the triggering signal, as long as you tell it what to expect. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now