soundmud / soundrts

A real-time strategy audio game
http://jlpo.free.fr/soundrts
Other
44 stars 32 forks source link

add effect_target_type (like harm_target_type) parameter ally / own / enemy #104

Open sanslash332 opened 6 years ago

sanslash332 commented 6 years ago

This is for have more options when you are creating units. For example a powerful unit, but have a harm_target_type own unit, so, it damages your units.

Or for example a teleport that have effect_target_type enemy, that works for sendenemy units to a random location in the map. or something effect similar.

soundmud commented 6 years ago

Yes. Also, harm_target_type should be documented. And according to the code, harm_target_type doesn't understand ally/own/enemy either.