- Joined
- Jun 21, 2013
- Messages
- 116
I'm lacking an idea on how could I make dynamic environment based spells that change as the unit changes position.
Let me give an example of what I mean.
We have a shaman unit on the map. He can manipulate the elements. But I don't want him to cast water-based spells in the desert, nor fire-based spells near ocean.
I would like him to have the abilities of an area he is currently in.
Is he near water? Then he can make the water take down his enemies
Is he near a cliff? Then he can pull the stone from it and hurl it at the enemies.
You probably get the idea.
My original idea was to split the map into regions, but regions can only be squares, as far as i can tell, so i would have to make thousands of them and include each in the trigger. So regions are out of the picture. (and I have regions covering the map, so it's probably best not to use 2 layers of regions).
Let me give an example of what I mean.
We have a shaman unit on the map. He can manipulate the elements. But I don't want him to cast water-based spells in the desert, nor fire-based spells near ocean.
I would like him to have the abilities of an area he is currently in.
Is he near water? Then he can make the water take down his enemies
Is he near a cliff? Then he can pull the stone from it and hurl it at the enemies.
You probably get the idea.
My original idea was to split the map into regions, but regions can only be squares, as far as i can tell, so i would have to make thousands of them and include each in the trigger. So regions are out of the picture. (and I have regions covering the map, so it's probably best not to use 2 layers of regions).