(ANSWERED) RTS, Path, and Simple AI

For questions about using Classic.

Post » Mon Mar 15, 2010 8:31 pm

I was going for a path the monster made, but leaves it when it sees the hero. If the hero is ducks out of sight then the monster goes back to it's path.

Is there a better way to do this?

Also the monster will go through some of the free standing solids. Any way to stop that?


http://www.box.net/shared/urka3ivffj
Construct .99.84
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Mon Mar 15, 2010 9:09 pm

I think a good way to go about it is to use the path behavior on a separate object and when the enemy doesn't have LOS of the player then move to the path.

Here's a modification of your example:
[url:2yoob1mk]http://www.box.net/shared/l570zit850[/url:2yoob1mk]
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749

Post » Mon Mar 15, 2010 9:49 pm

Very Cool R0J0hound,

How do you know this stuff? LOL
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Mon Mar 15, 2010 10:59 pm

[quote="Guyon":1qu629gr]Very Cool R0J0hound,

How do you know this stuff? LOL[/quote:1qu629gr]

He uses the mighty oracle located in construct chat. ;)
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Mon Mar 15, 2010 11:02 pm

ROFL
B
28
S
8
G
8
Posts: 530
Reputation: 7,154


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest