Jump to content

Dodger Elan

Resident
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

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

  1. Hello, I am looking for someone to complete a custom HUD script for me for a mesh head project. Must be confident in HUD creation and functionalities. Preferably someone reliable, with discretion, who has plenty of free time available at the moment and can get it done in a reasonable timeframe, and who has a genuine interest in hashing out ideas and working together with their client. There is also strong possibility for future work. Please send me an IM inworld for further information and discussion. Thanks for your consideration! :)
  2. Oh, okay - no worries. Sorry about that! I've tried to get this to work but it keeps coming up with a syntax error. Is there anything you (or anyone else) can see that's off? D: integer face1 = -1;integer eyelashes1 = -1;integer face2 = -1;integer eyelashes2 = -1;integer faceToShow;setup(){ integer iiMax = llGetNumberOfPrims(); integer ii; for( ii = 1; ii <= iiMax; ++ii) { string name = llGetLinkName(ii); if( name == "face1") face1 = ii; string name = llGetLinkName(ii); if( name == "eyelashes1") eyelashes1 = ii; string name = llGetLinkName(ii); if( name == "face2") face2 = ii; string name = llGetLinkName(ii); if( name == "eyelashes2") eyelashes2 = ii; }}showFace( integer which){ if( which == 1) { llSetLinkAlpha( face2, 0.0, ALL_SIDES); llSetLinkAlpha( eyelashes2, 0.0, ALL_SIDES); llSetLinkAlpha( face1, 1.0, ALL_SIDES); llSetLinkAlpha( eyelashes1, 1.0, ALL_SIDES); } if( which == 2) { llSetLinkAlpha( face2, 1.0, ALL_SIDES); llSetLinkAlpha( eyelashes2, 1.0, ALL_SIDES); llSetLinkAlpha( face1, 0.0, ALL_SIDES); llSetLinkAlpha( eyelashes1, 0.0, ALL_SIDES); } }
  3. Thank you so much for your time and assistance, Profaitchikenz. I am trying to get this to work at the moment. :matte-motes-smile: I've dropped you an IM in-world. Thank you again!!!
  4. So, I'm terrible at scripting and this has been driving me crazy. I'm really hoping someone might be able to help me out. Basically, I made a mesh head and it blinks using a randomised script which switches the alpha between two versions of the head (eyes open, eyes closed). However, each head also has eyelashes which are linked to it, and I can't figure out how to have the eyelashes disappear/appear with their corresponding head. Hopefully that makes sense, basically I want to achieve this: https://www.youtube.com/watch?v=IxihuX6KJeU This is the script: float randomized_time = 7.0; float animation_speed = 0.5; integer total_prims; integer link_counter; action() { llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES); llSetLinkAlpha( link_counter,1.0, ALL_SIDES); } default { state_entry() { total_prims = llGetNumberOfPrims(); state warmup; } } state warmup { state_entry() { state trigger; } changed( integer c) { if ( c & CHANGED_LINK) { llResetScript(); } } } state trigger { state_entry() { llSetTimerEvent(animation_speed); } timer() { link_counter++; action(); if( link_counter == total_prims) { link_counter = 0; state wait; } } } state wait { state_entry() { llSetTimerEvent(llFrand(randomized_time)­); } changed( integer c) { if ( c & CHANGED_LINK) { llResetScript(); } } timer() { state warmup; } }Any help would be greatly appreciated!!!
×
×
  • Create New...