Alright i've got a script that plays a sound - how could I also make it rotate the texture as the AV moves?
default {
state_entry() {
llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS);
}
state_exit() {
llReleaseControls();
}
run_time_permissions(integer perm)
{
if (perm)
{
llTakeControls(CONTROL_FWD | CONTROL_BACK, TRUE, TRUE);
}
}
timer() {
llSetTimerEvent(0);
}
control(key driver, integer level, integer edges)
{
if((llGetAgentInfo(llGetOwner()) & AGENT_FLYING) == FALSE)
{
if (level & CONTROL_FWD)
{
llPlaySound("soundwav",1);
}
if (level & CONTROL_BACK)
{
llPlaySound("soundwav",1);
}
}}
}
help would be appreciated ^^
NeverMind!