I'm running into a problem with the llSay cmd not executing at random times. Sometimes it works perfectly giving me all the individual outputs to the chat channel and sometimes skipping one or more of them. Below is a condensed example of my code:
-------------------------
float Calc(integer x) { some calcs returning a value}
...
state_entry()
{
misc code
y=Calc(x)
llSay(0, "Value1: " + (string)y );
small amount of code
y=Calc(x)
llSay(0, "Value2: " + (string)y );
more code
}
-------------------------
I'm wondering since I am jumping almost immediately to a global function, if it somehow is "changing states" before getting done processing the llSay command. I admit this doesnt seem likely, but I can't figure out anything else. BTW, I've run this code with a debug llSay in the global function and it always executes.
Anyone run into a similar problem with llSay?