• 🏆 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!

[AI] Ships

Status
Not open for further replies.
Level 29
Joined
Mar 10, 2009
Messages
5,016
you'll have to trigger it:

1) Shops and heroes should be put in a looping group check everytime if a hero is near a shop or a hero needs a ship
2) Put a conditional trigger when should ship is bought or the hero goes to the shop
3) If 1 & 2 is true check the gold and lumber, if it's enough, create a ship for AI at the location of the shop, if false, reset condition # 2
 
Status
Not open for further replies.
Top