This is probably a bug with my code rather than the collar but I'd be really grateful for a steer in the right direction. Have a plugin app that I'm working on - used the plugin template and it all works great except this bit that is designed to turn on off titles, it turns them on fine and changes them as required but I cant turn them off again - here's the code
titlermessage(integer show, string txt, vector col){
if (show==FALSE){
llMessageLinked(LINK_SET, LM_SETTING_DELETE, "titler_show","");
}
else{
llMessageLinked(LINK_SET, LM_SETTING_SAVE, "titler_show=1","");
llMessageLinked(LINK_SET, LM_SETTING_SAVE, "titler_title="+llStringToBase64(title_text),"");
llMessageLinked(LINK_SET, LM_SETTING_SAVE, "titler_color="+(string)colour,"");
}
}
I've tried llMessageLinked(LINK_SET, LM_SETTING_SAVE, "titler_show=0",""); but that doesnt help and looking at the titler code the setting delete line seems to be what's used there.
what do I need to do to turn them off - please!
thanks
Ariel Xekri
This is probably a bug with my code rather than the collar but I'd be really grateful for a steer in the right direction. Have a plugin app that I'm working on - used the plugin template and it all works great except this bit that is designed to turn on off titles, it turns them on fine and changes them as required but I cant turn them off again - here's the code
titlermessage(integer show, string txt, vector col){
if (show==FALSE){
llMessageLinked(LINK_SET, LM_SETTING_DELETE, "titler_show","");
}
else{
llMessageLinked(LINK_SET, LM_SETTING_SAVE, "titler_show=1","");
llMessageLinked(LINK_SET, LM_SETTING_SAVE, "titler_title="+llStringToBase64(title_text),"");
llMessageLinked(LINK_SET, LM_SETTING_SAVE, "titler_color="+(string)colour,"");
}
}
I've tried llMessageLinked(LINK_SET, LM_SETTING_SAVE, "titler_show=0",""); but that doesnt help and looking at the titler code the setting delete line seems to be what's used there.
what do I need to do to turn them off - please!
thanks
Ariel Xekri