Jump to content

Driving

Resident
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Driving

  1. Thanks, that is what I was looking for, didn't know that function existed!
  2. Lets say I have an object on some land, and another object worn on my avatar. (This is for something similar to a firing range) I basically want it so once the target (object on the land) is touched, it does some stuff depending on what was worn when it was clicked (It can't animate the same for every weapon shot at it!) Also the item worn would do some stuff, (an animation of shooting and unequip -as it needs to be reloaded) -The way I thought of doing it was with a channel (PLEASE correct me if there is a better way!!) aka /1020 weaponname would be said by the worn item and then the object on the land would know which weaponname shot it and could annimate. But what i'm wondering, is I offer some reward for shooting a target, is my system above 'safe'? -Is there a way to find out what is being said across a random channel/find out which channel is being used? Because if there is someone could find that they just need to keep spamming /1020 weaponname to get moar rewards :P Thanks alot. EDIT: I just realised you can use the event 'listen(integer ch, string name, key id, string msg) { }' to pretty much get what is being said so that makes my thing unsafe, how would I fix/prevent this? -What are the best options to communicate between objects? EDIT2: You need the channel number already though, I think(!)... So is channel communicating safe, or can people get my channel number? :(
  3. How do I make it so when the user wears an item it goes to the HUD centre by default? (Like the Fish Hunt HUD does)
  4. Thank you very much for a thorough answer. I shall persure those tutorials now -FYI: The tracking how long someone had been wearing something was for a job idea I had. EDIT: One last small non-related question, I know there are many services availible in SL, like estate agents and casinos and nightclubs, are there services anywhere for scripting/modeling for a price?
  5. I'm abit new to secondlife and would like to try scripting/building. But for now I have just afew questions to ask about possibility... I've tried to wear a vending machine before (How cool am I) and noticed it was clickable for me... (I could get a can of coke from it by clicking on me/it) -Is it clickable for all other people? This vending machiene was free, but I assume it works for charging for the can? -If so, can you split money between the wearer of the item and the creator of the item? Finally can you track how long someone has been wearing an item? Thanks :)
×
×
  • Create New...