So, I have this idea about a script for a custom item that I make, is a figurine that will summon a Gr. air elemental. I have never done a script, so I do not even know where to start.
Anyway, what I am looking for is to do three things:
1. As soon as it is summon, it will cast "mass cure" on the party.
2. It will attack the closest enemy.
2a. if there is 6 enemies within range the elemental will cast "Storm of Vengeance" and then wait for 4 rounds, in the mean time he will go back to attack the closest enemy, if after the 4 rounds there still 6 enemies he will cast the Storm again...wash and repeat.
3. If the elemental is kill, it will cast "Shield of archons" on player 1 and the will display a text in top of him.
So, it is possible. Can anyone help me?
Thank you in advance!