- 0
What's wrong with this script?
You are about to reply to a thread that has been inactive for 2860 days.
Please take a moment to consider if this thread is worth bumping.
Please take a moment to consider if this thread is worth bumping.
Question
KennyChidorie
Okay, i'm don't understand scripts, so... maybe someone can help fix it?
integer count;
default
{
state_entry()
{
count = 0;
state p;
}
}
state p
{
state_entry()
{
llListen(XXXXX, "Left", "", "Left");
}
listen(integer channel, string name, key id, string message)
{
++count;
if (count > 30)
{
llSetRot(llGetLocalRot() + <0,0, 5.0>);
state p;
}
else
{
llResetScript();
}
}
}
ERROR: Type mismatch:
llSetRot(llGetLocalRot() + <0,0, 5.0>);
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now