• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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