| 09-27-2006, 05:52 AM | #1 |
I was looking through the tutorials and forums for some help on basic AI scripting. However, all the posts that have something to do with AI scripting in their title don't even mention the word "AI" in the post (the tutorial "Trigger (GUI)/ AI editor Tutorials" is a prime example), so I had to ask for help myself. I was hoping someone could point me in the right direction to create some AI for my friend's map, Archers: CTF (link here: Archers). It is a CTF map based off of Archery Tactics. I am familar with GUI, but apart from knowing what JASS is used for I have no expierence with JASS scripting whatsoever. A helpful nudge in the right direction for some GUI AI scripts that would have the AI capture/defend the flag and attack other players would be most appreciated. Thanks! |
| 09-27-2006, 01:28 PM | #2 |
There's no actual AI scripting needed here (this is not a melee map). What you need to do is to control the computer players through triggers. For example, a computer player will want to capture the flag if it is located in the enemies' base, so the triggers must make sure that if he gets to that location, he will attempt to take the flag and go back to his own base. The attacking part is more difficult, because I assume you're using an ability to attack other players like in the original archery tactics; a simple way to do it would be to track when the computer encounters enemies, and then use the ability on the location of the enemy unit. |
| 09-30-2006, 05:30 AM | #3 |
Ah, I see. Thanks for the correction of my misuse of "scripts", and for the help! ![]() |
