Jump to content

Aime Takaaki

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Aime Takaaki

  • Rank

Recent Profile Visitors

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

  1. Hi!! Thank you for replying! I will try these methods! I keep forgetting how useful lists are.. I need to practise more on them. Thank you again for your help. Will post again if I make it work! :matte-motes-bashful-cute-2:
  2. Hi! I'm working on a hunt script and I'm stuck on how to solve a problem. I have a HUD that the customer is going to wear. And I have the prizes rezzed all over the sim. The customer will go prize by prize, touching them, and is going to start filling the hud. Once all the prizes are found, the hud/script have to do something. So far I have the HUD receiving the information that the prize is touched, however I don't know how to make it to "unlock" something once all the prizes are touched (not in order). The prizes are more than 15. I 'll appreciate if somebody can guide me on what I should be looking for. I tried this approach: on a listen event in the HUD script if (command == "prize_1") { found1 = TRUE; llSetTimerEvent(0.5); } and then the timer in the same script timer() { if (found1 && found2) { //if we found all the prizes llOwnerSay("We found all the prizes"); llSetTimerEvent(0); } } But since they are more than 15 prizes it takes a while to check all. Is the only way I can think of but I'm sure there is another one! I'm working on this trying to learn! Thank you for reading and I hope I explained well. :matte-motes-bashful:
  3. Yay! Grats! Awesome pic :matte-motes-big-grin:
  4. :matte-motes-not-entertained: omgawd! it was that...*hides* http://emos.plurk.com/5dd47c6d140b7f312fc448aef089cad4_w48_h48.gif thank you!!! i was stuck for like.. 3 hours..
  5. Hi everybody!! I have this script i'm working on and i would love a little help. My scripting level is basic. I'm having the problem that i can't get the touch_start event to trigger. My guess it's because of that timer in the state_entry event, but i'm clueless on how to solve it. I tried to call the timer on attach event, but that didnt do the trick. Help please???? key owner; string sound ="woot"; fly() {llOwnerSay("fly");} default { state_entry() { owner = llGetOwner(); //llOwnerSay("state default"); llSetTimerEvent(0.2); } touch_start(integer total_number) { llSay(0, "Touched."); llPlaySound(sound, 1.0); } attach(key id) { if (id) { llOwnerSay("I have been attached!"); } else { llOwnerSay("I have been detached!"); } } timer() { integer flying = llGetAgentInfo(owner) & AGENT_FLYING; if (flying ){ state flying; //llOwnerSay("im flying"); } else{ state stop; } } changed(integer change){ if(change & CHANGED_OWNER){ llResetScript(); } } state_exit(){ llSetTimerEvent(0); } } state flying { state_entry() { llSetTimerEvent(0.2); } timer() { integer flying = llGetAgentInfo(owner) & AGENT_FLYING; if (flying) { fly();} else {state default;} } } BTW, this is not the complete script, just a small part of it, but it doesnt do much than this.
  • Create New...