View Full Version: 4 dir AI script

Game Maker > Scripts > 4 dir AI script


Title: 4 dir AI script
Description: There must be better ones, but hey...


Erik - August 19, 2003 06:26 PM (GMT)
I made a 4directional movement script a while ago, meant for the alarm event of an object. You can set the speed in an argument and then use an alarm to set the move grid size. For example, grid 32x32, speed=4, alarm time is 32/4=8.
It's not a very good script, it will always evade on one direction. But it's the ony one I know doing this. Anyone know a better one - post! :D

You can find it on my web site, Libraries section, script libs.

Why are only mods allowed to reply here? Other's comments could also be very helpful :rolleyes:

snabela - August 19, 2003 06:54 PM (GMT)
Because if the script doesn't work we can close the topic and tell you why. But I can see the point of opening it. Lets see later.

snabela - August 19, 2003 06:56 PM (GMT)
Okay. Now everybody can post replies.

Erik - August 19, 2003 07:02 PM (GMT)
Thanks! :D requests are easy here. This also makes reacting to mod comments easier (instead of editing).

About the script itself-
I will probably update the evade AI if I find the time, but my school has just started again :(

snabela - August 19, 2003 07:04 PM (GMT)
Just ask and I can see what I can do! :D




Hosted for free by InvisionFree