- Joined
- Jul 5, 2013
- Messages
- 188
Hi. I was recently tinkering with ai script via notepad and i have a bit of an issue of adding hostile type units to the enemy's attack group. So far i had no issue increasing the number of existing units per attack wave, but i dont have a clue as to what i need to exactly type to add that new unit in attack wave. Like for example:
Call set_attack_group( 0, 3, 3, 2, ANCIENT_HYDRA ) doesnt work
or
Call set_attack_group( 0, 3, 3, 2, DRAGON_TURTLE ) (the not Naga version) (also doesnt work)
What exactly am i missing? I typed similarly the KNIGHT and he spawned alright, but when i tried to add hostile units like Ancient Hydra and Dragon Turtle, all i manage to do is bork the script entirely, the enemy just sits in base.
Call set_attack_group( 0, 3, 3, 2, ANCIENT_HYDRA ) doesnt work
or
Call set_attack_group( 0, 3, 3, 2, DRAGON_TURTLE ) (the not Naga version) (also doesnt work)
What exactly am i missing? I typed similarly the KNIGHT and he spawned alright, but when i tried to add hostile units like Ancient Hydra and Dragon Turtle, all i manage to do is bork the script entirely, the enemy just sits in base.