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

Melee AI problems

Status
Not open for further replies.
Level 1
Joined
Oct 9, 2010
Messages
4
ok, so i have been working on a custom map with multiple races that are created using dialog boxes. :goblin_yeah: however because it is a custom map the AI doesn't happen by default, and i am having trouble getting AI to happen for players 2-10. This is how my trigger looks right now, it will create starting units for Player 2 (that is working perfectly) but the Melee AI isn't working. :vw_wtf: Does anyone know what might be wrong or how to make it work.

Player2
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Player 2 (Blue) controller) Equal to Computer
Then - Actions
Melee Game - Create Human starting units for Player 2 (Blue) at (Player 2 (Blue) start location) (Exclude Heroes)
AI - Start melee AI script for Player 2 (Blue): Scripts/human.ai
Else - Actions
Do nothing
 
Level 1
Joined
Oct 9, 2010
Messages
4
i kept the melee triggers at first, but because i create the starting units with my own trigger, it wasn't working. however if GhostThruster is right about my slash going the wrong way i will feel so stupid.
 
Status
Not open for further replies.
Top