Jump to content

TrinityReclusive

Resident
  • Content Count

    23
  • Joined

  • Last visited

Everything posted by TrinityReclusive

  1. Ok i cant seem to get this right so help would be great. I want to trigger the following particle script with a chat command On & Off (channel not important can change latter) default { state_entry() { llParticleSystem( [ PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE, PSYS_SRC_BURST_PART_COUNT,(integer) 4, PSYS_SRC_BURST_RATE,(float) .05, PSYS_PART_MAX_AGE,(float) .6, PSYS_SRC_BURST_SPEED_MIN,(float)1, PSYS_SRC_BURST_SPEED_MAX,(float) 7.0,
  2. Yes thanks works great now just what i was trying to get... much thanks
  3. Ok this is what i been trying to do. I have this script that when it starts it plays a loop sound. When you click it it shuts it off. Ho to add when i click it again to turn it back on. What i want is for the loop sound to be playing when the script first starts and be able to turn it off and on. If this makes any sense. default { state_entry() { llLoopSound("Spinning", 1.0); } touch_start(integer total_number) { llStopSound();// sound stops!! } }
  4. This trigger from my hud works great and plays so all can hear it, but want the sound to loop not just play once. What to add to this so that it does just that. string sound = "Roar"; default { touch_start(integer total_num){ if (llDetectedKey(0)==llGetOwner()){ { llTriggerSound(sound, 1.0); } } }} Thanks for any help i dont want to break my hud lol
  5. Well i got If figure out and works now just great thanks for the input. Have a Great SL Day.
  6. Ok I have a Box that emits a particle fog. The script in to works and sending the off/ on command works. I am trying to get a button on my hud i made to send the Turn On command to The Box. Here is the Box Script: integer channel = -200; string offMessage = "Fog Off"; string onMessage = "Fog On"; // Mask Flags - set to TRUE to enable integer glow = TRUE; // Make the particles glow integer bounce = FALSE; // Make particles bounce on Z plan of object integer interpColor = TRUE; // Go from start to end color integer interpSize = TRUE;
  7. This script is control by a hud i have made. All works well but.. I want to make sure that the item controlled by the hud only listens to the owner of the item. Example a (Box on the ground) listens to the hud. The hud makes the script in the box activate in this case reset. How to make the box only listen and react to the person who own it. Even if the other person has a similar item and a hud. In case two people own the same item and have the same hud. Does this make sense? everything works perfect but want to make sure this problem wont happen. This is the scr
  8. Well somehow i bet i have some brackets missing or not in the right place on this script. I get error.. string dialogInfo = "\nPlease make a choice."; key ToucherID; key ToucherOwner; integer dialogChannel; integer listenHandle; default {state_entry() {dialogChannel = -200 - (integer)("0x" + llGetSubString( (string)llGetKey(), -7, -1) );} touch_start(integer num_detected) {ToucherID = llDetectedKey(0);ToucherOwner = llGetOwner();if (ToucherID == ToucherOwner) {llListenRemove(listenHandle);listenHandle = llListen(dialogChannel, "", ToucherID, ""); llD
  9. Thanks it works now.. I always seem to get brackets wrong but getting better, Thank you all for your help. I would go nuts if it where not for your help on this thank you so much.
  10. Ok i changed it to this still runs but not for owner only. So i must have it still not correct. list buttons = ["-", "Red", "White", "Blue"]; string dialogInfo = "\nPlease make a choice."; key ToucherID; key ToucherOwner; integer dialogChannel; integer listenHandle; default { state_entry() { dialogChannel = 2 - (integer)("0x" + llGetSubString( (string)llGetKey(), -7, -1) ); } touch_start(integer num_detected) {if (ToucherID == ToucherOwner) { //open the dialog } ToucherID = llDetectedKey(0);
  11. Well this script does what it should but i can not seem to get it for owner only. The script runs fine but still anyone can use it. Do I have something in the Dialog listen area wrong or left out? ist buttons = ["-", "Red", "White", "Blue"]; string dialogInfo = "\nPlease make a choice."; key ToucherID; key ToucherOwner; integer dialogChannel; integer listenHandle; default { state_entry() { dialogChannel = 2 - (integer)("0x" + llGetSubString( (string)llGetKey(), -7, -1) ); } touch_start(integer num_detected) {
  12. Well i took out the (integer ) line but now it gives me error on line 23, 4. integer handle; default { state_entry() { handle = llListen( 0, "", llGetOwner(), "fire" ); vector rootRot = llRot2Euler(llGetRootRotation()); vector mod = <llFrand(-0.2), llFrand(0.2), 0> + <0, -0.1, 0>; rotation rot = llEuler2Rot( rootRot + mod ); integer n = llGetInventoryNumber( INVENTORY_OBJECT ); integer choice = llFloor( llFrand(n) ); string name = llG
  13. Sorry have to admit i an not to bright. Tried reading about llListen could not make heads or tails of it. Tried to add that command to it but it didn't work. This is what i tried to add i know its wrong have error on line..10 9 integer handle; default { state_entry() { handle = llListen( 0, "", llGetOwner(), "fire" ); (integer ) vector rootRot = llRot2Euler(llGetRootRotation()); vector mod = <llFrand(-0.2), llFrand(0.2), 0> + <0, -0.1, 0>; rotation rot = llEuler2Rot( ro
  14. How to get this script to trigger on a text chat message. What to trigger it by using chat window. I am stuck i tried different things but i can not get it right. Is it possible to do this? I been searching for a way but can not find a clear answer for this. The click on touch works fine. But wish to active this script on a chat command such as the word fire. I appreciate you help. Thank you. default { touch_start(integer total_number) { if(llDetectedKey(0)== llGetOwner()) { vector rootRot = llRot2Euler(llGetRootRotation()); ve
  15. Great that fixed it thought it might have been something simple i still get brackets messed up some-days. But still learning Thanks alot hope you have a great day!
  16. I need a bit of help. How to add owner only to this script so only the only can activate it. integer CountDownTime = 60; float CountDownIncrements = 1; integer StartTime; integer Rounds; // Script starts here .... default { touch_start(integer numbb) { llSay(0, (string)CountDownTime + " ..."); llSetTimerEvent(CountDownIncrements); StartTime = llGetUnixTime(); } timer() { if (llGetUnixTime() >= StartTime +CountDownTime) { llSay(0, "Bang"); llSetTimerEvent(0);
  17. Parcels for rent. Witches and Wizards Realm is a RP Residential Estate featuring scenery and landscaping to fit this style theme. Normals, Wizards, Witches, Fairies. Elves and Furries are welcome to play and rent. Group Castle is used for partys and many community events are held weekly. http://maps.secondlife.com/secondlife/Soul%20Keeper/63/152/31 Lot #1A 258 Prims Price 518L 896m2 Lot 7A 291 Prims Price 582L 1008m2 Lot 7 B 221 Prims Price 436L 768m2
  18. Parcels for rent. Witches and Wizards Realm is a RP Residential Estate featuring scenery and landscaping to fit this style theme. Normals, Wizards, Witches, Fairies. Elves and Furries are welcome to play and rent. http://maps.secondlife.com/secondlife/Soul%20Keeper/63/152/31 Lot #1A 258 Prims Price 518L 896m2  Lot 7A 291 Prims Price 582L 1008m2  Lot 7 B 221 Prims Price 436L 768m2 
×
×
  • Create New...