|
Bilbo Goodliffe
all around good guy
Join date: 30 Dec 2005
Posts: 22
|
04-05-2007 09:15
I need help I have a parachute script that i used collision_start(integer num_detected) { llWhisper(0, "landing"); llStopAnimation(gAnimName); llResetScript(); }
which works when landing on anything but ground
land_collision(vector pos) { llWhisper(0, "landing"); llStopAnimation(gAnimName); llResetScript(); }
this works landing on land but no where else, any ideas on combining them? thanks
|
|
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
|
04-05-2007 09:44
How about this? Landed() { llWhisper(0, "landing"); llStopAnimation(gAnimName); llResetScript(); }
default { collision_start(integer num_detected) { Landed(); }
land_collision(vector pos) { Landed(); } }
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!! - Go here: http://jira.secondlife.com/browse/SVC-1224- If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left
|
|
Bilbo Goodliffe
all around good guy
Join date: 30 Dec 2005
Posts: 22
|
thanks this workes
04-06-2007 09:42
collision_start(integer num_detected) { state Landed; }
land_collision(vector pos) { state Landed; } }
state Landed { state_entry(){
|