how do u make it so that u can make it so that u can move while otha characters are in mid-amination and/or moving???
like if an object is moving, and u have to get out of the way, how would i do that??????
Hm. Probably just by using non-blocking scripts, like MoveObject and MoveCharacter instead of MoveObjectBlocking etc.
it is not that hard but may require a lot of scripting depending on the amount of different animations. the non blocking stuff doesn't work.
I've done it using something like this.
******************more script above
MoveCharacterDirect(NPC,277, 139);
SetGlobalInt(20,1); // for next stage
}
if (GetGlobalInt(20)==1){
if (character[NPC].walking == 0) {
DisplaySpeechAt(125,70,70,NPC,"hello");
Wait(1);
SetCharacterView(NPC,10);
AnimateCharacter(NPC,0,5,0);
SetGlobalInt(20,2); // for next stage
}
}
if (GetGlobalInt(20)==2){
if (character[NPC].animating == 0) {
**************more script later
so the key parts of the script are:
if (character[NPC].walking == 0)
&
if (character[NPC].animating == 0)
then you just need to get it to the next part of the code for the next part as shown above.
It works fine, you will be able to have complete control of your character while the NPC's do what ever you want them to.
~Tim