View Full Version: How do I get..........

Game Maker > Questions and answers > How do I get..........


Title: How do I get..........


Star fox - November 15, 2003 02:05 AM (GMT)
How do I get computer player smartness?

Like in plane game, the computer player does lot of smart things like only shoot when you are in his range and for him to dodge your shots.

BomberJake - November 15, 2003 04:07 PM (GMT)
I think in both situations you could use this:

if distance_to_object(obj) < #
{
whatever you want it to do
}

I don't think this would be good for dodging shots, but give it a try and see what happens.




Hosted for free by InvisionFree