09-18-2010, 12:18 PM
Hi all,
There is the problem I Have a script making a Vase falling of a Desk and I want the player to look at that Vase so there is my script
So the problem is that the vase is falling but Player don't look at it ... mhhh
Don't understand why
There is the problem I Have a script making a Vase falling of a Desk and I want the player to look at that Vase so there is my script
Code:
void CollideAreaFly01(string &in asParent, string &in asChild, int alState)
{
AddDebugMessage("HAHAHAHA sa marche le vol de vase", false);
AddPropImpulse("Vase_01", 0, 0, -1.2f, "world");
AddTimer("VaseTimer_01",0.5f,"VaseTimerScare");
}
void VaseTimerScare(string &in asParent, string &in asChild, int alState)
{
AddDebugMessage("test Vase qui tombe",false);
StartPlayerLookAt("Vase_01",2.0f,5.0f,"");
AddTimer("VaseTimer_01",1.5f,"");
StopPlayerLookAt();
}
So the problem is that the vase is falling but Player don't look at it ... mhhh
Don't understand why