In my game, some time npc move to go in the bed.
While thy move to the bed thy say something and whn sleping something else.
Just to be clearn, it's the move route that was used.
I want to know what to put in conditional brench for check if npc is curently moving when I talk to him.
Thanks.
I don't know about using a conditional branch for this, someone else may be more helpful for that, but I believe another way you could do it is using a switch and a new tab on the moving npc.
1.Make a switch "NpcMoving"
2.Turn it on when the npc moves to go to bed
3.Make a new tab on the npc with the trigger condition being the switch "NpcMoving"
4.Add text for what you want the npc to say while going to bed into this new tab.
When your npc is in bed, turn the switch off so they don't keep saying that text.
This may be a kind of clunky way to do it, but it should work, I think.
Cam I ask for a reup?, Still looking for a way to make it done. Thanks.
you need to explain better what you want to do, because the way described above is the usual way.
Also, adding screenshots of the events would help - but please, use [alt]-[prtscrn] for your screenshots - the screenshots you've done with [prtscrn] alone are usually almost unreadable small.
For be more clear.... Some time NPC follow a traceroute. While moving they need to say: get out of my way, and while they are finish it say something else. I know you will tell me many way for doing that... So I need to tell you that the way I make my game they have many way I cant use. Its must be all in same tab of the event. So I only need to find the code that told if NPC is executing a traceroute curently. Thanks =:0)
Can't you just do the normal move route but don't put 'wait for move's completion' at the end? Then add wait 1 second, then have your text? I'm not really sure why the other way doesn't work, it's how I would have tried it at first, but I think this should work fine.
I will try to explain it again. player ofter do moveroute without wait for completion option checked. I want that if we talk during the move route we got some text and after some other.
I already know a lot of bad way for doing that. the move route was the one at event load...
So what I want is the script that I can put inside a conditional brench that return true or false depending if the even executing a mouve route.
this logic in even:
If player_is_moving then
message A
else
message B
I know its exist a direct way for check that, I see it while ago.
thanks.