![Smile :)](./images/smilies/icon_e_smile.gif)
I would like to ask if there is a way to control NPC actions And his movements
Simple example
At the point A he sits and after 10 seconds rises from his place and goes
![Arrow :arrow:](./images/smilies/icon_arrow.gif)
And I want Thank you for everything
Code: Select all
AnimatorPlay(Sit);
AnimatorPlay(Stand)@10;
AnimatorPlay(Walk)@11;
MoveTo(Point B,,1)@11;
AnimatorPlay(Dance)@12;
AnimatorPlay(Walk)@14;
MoveTo(Point A,,1)@14;
AnimatorPlay(Idle)@15
Code: Select all
AnimatorPlay(Stand)@10;
AnimatorPlay(Walk)@11;
LookAt(Point B,,0.5)@11;
MoveTo(Point B,,1)@11;
AnimatorPlay(Dance)@12;
AnimatorPlay(Walk)@14;
LookAt(Point A,,0.5)@14;
MoveTo(Point A,,1)@14;
AnimatorPlay(Idle)@15
Code: Select all
Delay(10)->Message(Ready);
AnimatorPlayWait(Stand)@Message(Ready)->Message(Stood);
AnimatorPlay(Walk)@Message(Stood);
LookAt(Point B,,0.5)@Message(Stood);
MoveTo(Point B,,1)@Message(Stood)->Message(Arrived_B);
AnimatorPlayWait(Dance)@Message(Arrived_B)->Message(Danced);
AnimatorPlay(Walk)@Message(Danced);
LookAt(Point A,,0.5)@Message(Danced);
MoveTo(Point A,,1)@Message(Danced)->Message(Arrived_A);
AnimatorPlay(Idle)@Message(Arrived_A)
Code: Select all
AnimatorPlay(Stand)@10;
NavigateTo(Point B)->Message(Arrived_B);
AnimatorPlayWait(Dance)@Message(Arrived_B)->Message(Danced);
NavigateTo(Point A)@Message(Danced)->Message(Arrived_A);
AnimatorPlay(Idle)@Message(Arrived_A)
Code: Select all
SLATE(Dance_Routine)