I dont have a photobucket account, but its a simple trigger so it should be enough..
Trigger 1
Events
Game - Map initialization Local Variables
Conditions
Actions
AI - Start the campaign AI for player 15(value integer)
Trigger 2
Events
Periodic Event ( every 5 second game time)
Local Variables
Conditions
Actions
(Global Suicide) AI - suicide all player 15(value integer) units
------
Idk why this doesnt work. the global suicide is described as "flags all units owned by a player to suicide. Units flagged to suicide will seek out and attack the nearest enemy unit until they are slain, or there is nothing left to attack."
I have a bunch of player 15 units that have huge vision range of like 250 and they should seek out any player in vision I would think. Their behavior does not change if I remove the triggers. They only agro the heroes if they are within like 6 or 7 range as usual.
Ive read watched many tutorials claiming it's about AI, but theyre just about issuing orders to certain units.
I haven't encountered it, but there should be a seperate stat on units for the range at which they will engage an enemy (at least there was in WC3).
I have to imagine this only works if the units have an AI to begin with. Are the units actively running the campaignAI?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I dont have a photobucket account, but its a simple trigger so it should be enough..
Trigger 1
Events
Game - Map initialization Local Variables
Conditions
Actions
AI - Start the campaign AI for player 15(value integer)
Trigger 2
Events
Periodic Event ( every 5 second game time)
Local Variables
Conditions
Actions
(Global Suicide) AI - suicide all player 15(value integer) units
------Idk why this doesnt work. the global suicide is described as "flags all units owned by a player to suicide. Units flagged to suicide will seek out and attack the nearest enemy unit until they are slain, or there is nothing left to attack."
I have a bunch of player 15 units that have huge vision range of like 250 and they should seek out any player in vision I would think. Their behavior does not change if I remove the triggers. They only agro the heroes if they are within like 6 or 7 range as usual.
Ive read watched many tutorials claiming it's about AI, but theyre just about issuing orders to certain units.
I haven't encountered it, but there should be a seperate stat on units for the range at which they will engage an enemy (at least there was in WC3). I have to imagine this only works if the units have an AI to begin with. Are the units actively running the campaignAI?