• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Simple AI that defends a building

Status
Not open for further replies.
Level 12
Joined
Aug 7, 2004
Messages
875
Hi,

I will get to the point.

I need someone to make me a very simple AI that makes a computer unit (non-hero) defend a building.

If you don't get the idea, its kinda like the unit patrolling around the building, scouting further a distance and then going back to its patrol.

I want it to be implemented like this

JASS:
call StartAI(GetLastCreatedUnit(), building)

Anyone who steps up to my request will receive a rep if matters to them :grin:

Thanks
 
Status
Not open for further replies.
Top