Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Hit and run trigger

Status
Not open for further replies.

cake maker

Villager
Xy$
0.00
Hi all,

Trying to get a truck event to hit a player (detected with event touch) whereafter the player is squashed for a few seconds and HP is deducted. But as soon as the truck hits the player, I was hoping it would continue it's route to it's finish, but it doesn't, because it's on the same z index as the player, and must be in order for event touch to work. So instead of continuing the orders from it's parallel event, it cancels the movement route and starts again, disappearing and reappearing at the start of it's route.
I'm hoping to set it up so that as soon as it hits, it's z-level goes above the player, appears to drive over the squashed hero, and continue it's course, but I fear this won't be possible without a script.
Any ideas?
Thanks,

Cake
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
I can give you a decent suggestion and it works for me. So start with your vehicle event, and put a set move route command in there, set it to the player, and make the player jump to whichever direction you see fit, this will move the player out the way, and the vehicle can still keep it's original move route. I have a screenshot below to show you how I did it, in my case since I was only testing I healed the player and not damaged them lol, whooops..

If your vehicle event moves in more than one direction, and you need the player to move in the direction the event is facing then let me know and I'll come back with another screenshot to explain how it's done.

I hope this helps (cheeky)
Crashevent.png
 
Status
Not open for further replies.
Top