Path Finish

Non-platform specific questions.

Path Finish

Postby yourownskills » Sat Nov 24, 2012 8:34 am

I have my hero and I have my enemy...when the hero collides with this Filled region Actor the enemy follows a path....but the enemy keeps on doing the path over and over...i dont have it repeated...and i tried to do a finish path....but i couldnt find a destroy path option or something similar...I tried to destroy the filled region actor once the path is finished but that didnt work...i have tried different things for two hours and I have no idea.
yourownskills
 
Posts: 40
Joined: Thu Mar 22, 2012 5:02 pm
Score: 1 Give a positive score

Re: Path Finish

Postby skydereign » Sat Nov 24, 2012 8:36 am

There isn't a destroy path, but you can use ChangePath and set it to none.
enemy -> Path Finish (hit path) -> Script Editor
Code: Select all
ChangePath("Event Actor", "(none)", BOTH_AXIS);
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Path Finish

Postby yourownskills » Sat Nov 24, 2012 8:51 am

thanks sky, I started working on that squirrel nuts level again. I need to finish it someday.
yourownskills
 
Posts: 40
Joined: Thu Mar 22, 2012 5:02 pm
Score: 1 Give a positive score

Re: Path Finish

Postby yourownskills » Sat Nov 24, 2012 9:00 am

here is the new hero design

Image
yourownskills
 
Posts: 40
Joined: Thu Mar 22, 2012 5:02 pm
Score: 1 Give a positive score

Re: Path Finish

Postby yourownskills » Sat Nov 24, 2012 9:05 am

and here is the ninja enemy I needed that code for..

Image
yourownskills
 
Posts: 40
Joined: Thu Mar 22, 2012 5:02 pm
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron