I solved by changing the script in this way
void capitoloz(string &in asParent, string &in asChild, int alState)
{
AddTimer("", 0, "capitolo0");
SetPlayerActive(false);
}
void capitolo0(string &in asTimer)
{
PreloadSound("impact_glass_high.snt");
StartPlayerLookAt("pot_plant_small02_3", 1, 1, "");
AddTimer("", 5, "capitolo01");
}
void capitolo01(string &in asTimer)
{
SetMessage("Messages", "capitolo0", 0);
AddTimer("", 4.0f, "capitolo02");
StopPlayerLookAt();
}
it works .... so it's just as well right?