What sepose when i touch it is
Let someone Sit on the object and give a PREMISION MENU!
It gives me the message "ACTIVATE"
but not the PREMISION MENU followed by it!!!!
Am i Doing something wrong or is it a bug??
below is a short example verrsion of the script.
default
{
state_entry()
{
llSitTarget(<0,0,0.1>,ZERO_ROTATION);
}
on_rez(integer start_param)
{
active = FALSE;
llSetScriptState("Example", FALSE);
}
changed(integer change)
{
if(change==CHANGED_LINK)
{
if(active==TRUE)
{
llSay(0,"Deactivate"
;llReleaseControls();
active = FALSE;
llSetScriptState("Example", FALSE);
}
else
{
llSay(0,"ACTIVATE"
; //NO FURTHER REACTION MENU IS NOT COMING!!!llRequestPermissions(llAvatarOnSitTarget(), PERMISSION_TAKE_CONTROLS);
}
}
}
run_time_permissions(integer p)
{
if (p)
{
llTakeControls(CONTROL_FWD|CONTROL_BACK,TRUE,FALSE);
active = TRUE
llSetScriptState("Example", TRUE);
}
else
{
llReleaseControls();
active = FALSE;
llSetScriptState("Example", FALSE);
}
}
control(key id, integer down, integer change)
{
EXAMPLE,, I NEVER GET HERE BECOUSE OF FAILING PREMISION MENU!!!!
}
}
I dont know what im doing wrong,, if im doing it wrong,,, tell me pls, otherwise also
i think i have to report a bug then,,, pls pls somebody help me!!!
Lexi Foley