Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list anim=["express_afraid","aim_r_bazooka","aim_l_bow","aim_r_handgun","aim_r_rifle","express_anger","away","backflip","express_laugh","blowkiss","express_bored","bow","brush","busy","clap","courtbow","crouch","crouchwalk","express_cry","turn_180","turnback_180","dance1","dance2","dance3","dance4","dance5","dance6","dance7","dance8","dead","drink","express_embarrased","express_afraid_emote","express_anger_emote","express_bored_emote","express_cry_emote","express_disdain","express_embarrassed_emote","express_frown","express_kiss","express_laugh_emote","express_open_mouth","express_repulsed_emote","express_sad_emote","express_shrug_emote","express_smile","express_surprise_emote","express_tongue_out","express_toothsmile","express_wink_emote","express_worry_emote","falldown","female_walk","angry_fingerwag","fist_pump","fly","flyslow","hello","hold_r_bazooka","hold_l_bow","hold_r_handgun","hold_r_rifle","hover","hover_down","hover_up","impatient","jump","jumpforjoy","kissmybutt","land","laugh_short","soft_land","motorcycle_sit","musclebeach","no_head","no_unhappy","nyanya","punch_onetwo","peace","point_me","point_you","prejump","punch_l","punch_r","express_repulsed","kick_roundhouse_r","rps_countdown","rps_paper","rps_rock","rps_scissors","run","express_sad","salute","shoot_l_bow","shout","express_shrug","sit","sit_female","sit_ground","sit_ground_constrained","sit_generic","sit_to_stand","sleep","smoke_idle","smoke_inhale","smoke_throw_down","snapshot","stand","standup","stand_1","stand_2","stand_3","stand_4","stretch","stride","surf","express_surprise","sword_strike_r","talk","angry_tantrum","throw_r","tryon_shirt","turnleft","turnright","type","walk","whisper","whistle","express_wink","wink_hollywood","express_worry","yes_head","yes_happy","yoga_float"];
- integer x;
- default
- {
- state_entry()
- {
- llSay(0, "Hello, Avatar!");
- x=18;
- }
- touch_start(integer total_number)
- {
- list anims=llGetObjectAnimationNames();
- if(llGetListLength(anims)>0)
- {
- llStopObjectAnimation(llList2String(llGetObjectAnimationNames(),0));
- }
- llStartObjectAnimation(llList2String(anim,x));
- x=x+1;
- if(x== llGetListLength(anim))
- {
- x=0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement