• 0

    posted a message on Campeign AI Trigger, Why doesnt this work?

    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.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Weapon question

    @wowacesucksmassivekok: Go

    I dont have my editor open, and I'm no pro, but I think youd just duplicate a similar weapon and mod it?

    There's a bunch of tutorials for weapons and units in the tutorials section

    Posted in: Miscellaneous Development
  • 0

    posted a message on Campeign AI Trigger, Why doesnt this work?

    @Matezius: Go

    I'll also note that I've looked at many AI tutorials, and all of them actually just issue orders. I wanted to use the actual "AI" and "Advanced AI" triggers

    Posted in: Miscellaneous Development
  • 0

    posted a message on Campeign AI Trigger, Why doesnt this work?

    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.

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.