Help with making AI

Get help using Construct 2

Post » Wed Jan 20, 2016 4:47 pm

There are many ways to make AI, and to modify it to attack players when certain conditions are met, from collision with invisible hitboxes to more complicated stuff, Whats the easiest or least event consuming way to create Triggers based on distance?

And I want the event to be so that when the condition is met, one of 3 actions will be executed, not the 3 but 1 of the 3, how can I make this?
Posts: 38
Reputation: 628

Post » Wed Jan 20, 2016 5:08 pm

you can compare the distance every tick and execute the action when the condition is true ? there is no more optimised way , because i you use the sight of view or collision test , any kind of test in a game engine works in loop ( every tick ) or every milliseconds , so it's the only way to make a test
Posts: 119
Reputation: 1,468

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests