Jump to content

sb4u

Resident
  • Posts

    10
  • Joined

  • Last visited

Everything posted by sb4u

  1. Thank you both it shure has
  2. Thanks for your help in advance though.
  3. Pity Im so new to SL scripting I have no idea where to start...
  4. Thats what I was trying to achieve and failing
  5. I am trying to make a script that would enable me to attach then deattach it after. This script itself would not work that well but it was a start. My true aim, if possible, was to use a scripted HUD to change a sword from sheathed position to ready position, which comes down to changing the transparency of the sheathed object, then attaching a seperate sword on the other. I am not sure how to make the HUD work with these other objects though.
  6. I tried the editor but with syntax checker I got these three results...Im still left wondering... 1 } expected new.lsl 26 26 2 } expected new.lsl 29 10 3 Type or namespace definition, or end-of-file expected new.lsl 42 1
  7. Can anyone hellp with this script? Keeps coming up with Syntax error. I am new so its probably something obvious. default { state_entry() { llRequestPermissions( llGetOwner(), PERMISSION_ATTACH ); } run_time_permissions( integer vBitPermissions ) { if( vBitPermissions & PERMISSION_ATTACH ) { llAttachToAvatar( ATTACH_LHAND ); } else { llOwnerSay( "Permission to attach denied" ); } } touch_start(integer num_detected) { integer i = 0; for(; i<num_detected; ++i) llAttachToAvatar(ATTACH_RHAND); state hot; state hot{ state_entry() { touch_start(integer num_detected) { llAttachToAvatar(ATTACH_HUD_CENTER_2); state default; } } } }
×
×
  • Create New...