Sign in to follow this  

Question about the best AI method

This topic is 4284 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to figure out the best AI method to cast a firewall spell on some monsters for a game. I will try to describe my problem. Firewall consists of three separate pillars, and is always casted horizontal relevant to your location, the coords you target is where the center pillar appears. IMo it's easiest to just cast one space to your side for my purposes. How firewall casts .ooo.... ........ ..x..... ........ ........ ......O ..x...o ......O ....... .O..... ..O.... .X.O... ....... Monster movement examples ........ .......O ......O. ...OOO.. ..x..... ........ .....o.. ....O... ...O.... ...O.... ..x..... ........ O....... .O...... ..O..... ..O..... ...x.... ........ ..O..... ..O..... ..O..... ..O..... ..x..... ........ ?/p> vwall examples /either would work ......M ....... ....X.. ...PX.. ....X.. ...Y... ....... ......M ....... ..xxx.. .Y.P... ....... ....... P = player M = monster Y = move position after casting X = Firewall So long as all 3 pillars end up in the monsters path after you move, itll work Any AI mathematics expert here can tell me the best algorithm to solve my problem? Much appreciated

Share this post


Link to post
Share on other sites
It seems to me that he's making robots, but instead of crashing them into each other, he wants to crash them into a three-tile wall of fire created perpendicular to the line from player to the center pillar. The point where the center pillar is created is designated by the player during casting.

Share this post


Link to post
Share on other sites

This topic is 4284 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this