Geom Filter Test Monster Tag Question
Posted: Sat Dec 23, 2006 4:47 pm
I would like to know if there is a better way of scripting a certain attack I'm making. This attack is called "Blight". It makes the target unhealable like undead units. The unit shoots a projectile that is guided. This projectile promotes to another projectile that stuns the target. The scripting is always looking for this stunning projectile. It uses it as the center of a geom filter test. The goem filter looks for one unit in the circle. Thing is the script then does several goem filter tests to see if the target unit uses a certain monster tag. There are about 26 different collections for units alone being used in this specific map. Therefore it requires about 26 different geom filters to see what the target unit is. Once the script knows what unit it has it gives it a specific artifact which will switch the monster tag with one that has healing fraction of zero.
My issue is, while my script works it is still imperfect. How can I make a geom filter test for monster tag 'abcd' (for example) within a monster_identifier instead of the whole map? Is there is a more efficient way to script this.
My issue is, while my script works it is still imperfect. How can I make a geom filter test for monster tag 'abcd' (for example) within a monster_identifier instead of the whole map? Is there is a more efficient way to script this.