Aller au contenu

Photo

NPC executing ga_jump too earlyin cutscene


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
I have a cutscene in which an NPC walks down a dock toward a ship while the conversation proceeds through dialogue nodes.  On line 7 of the conversation, the NPC receives his command to walk toward the ship.  On line 18 the NPC receives the command to jump to another waypont which is on the ship.  The problem occurs at line 15 of the conversation when the NPC suddenly disappear.  It seems as though the NPC is receiving the command to jump to the next waypoint before the apporpriate line of dialogue is reached. 

Is this possible?  Has anyone else run into this before?

I appreciate any help...

#2
_Knightmare_

_Knightmare_
  • Members
  • 643 messages
Two "my NPC jumps when I don't want them to" threads lol. Perhaps the reason is due to my comments in this thread.

If not, we would need to see the scripts you are using.

I have a convo where an NPC makes over a dozen jumps and/or walks to different waypoints. Never had a problem with him not doing what I wanted when I wanted. But then again, he is not the NPC "owner" of the convo.

Sure there's no script in there telling him to jump on line 15 - perhaps by mistake or whatever?

Modifié par _Knightmare_, 06 octobre 2010 - 02:44 .


#3
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
You were right! I was using the standard "ga_move" script. When I looked at the script, it turns out that the command ActionForceMoveToObject() was indeed used and there was no way to alter the default 30 second jump. Thanks for the help. I had completely forgotten about that.



I just added another waypoint in the mix and everything went off without a hitch!



Again, thanks.