sb4u
-
Posts
10 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by sb4u
-
-
Thanks for your help in advance though.
-
Pity Im so new to SL scripting I have no idea where to start...
-
Also many thanks
-
Thats what I was trying to achieve and failing
-
Is it possible?
-
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.
-
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 -
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; } } } }
Script error. Help please
in LSL Scripting
Posted
Thank you both it shure has