1
Editor Discussion / Re: Make towers attack monsters, not players?
« on: January 06, 2015, 04:15:26 AM »Yes, you can create such a tower, you can't specify the tower to aim at monsters, but you can change the projectiles to damage only monsters.Ah, is's a shame you can't do that, it would really open up more possibility's for what I am working on.
I came across this in another post somewhere and added the override to projectiles I didn't what the player to be hurt by, thanks for the additional informationCode: XML
<projectile directions="1" collision="13" damage="1000" speed="1.5" behavior="penetrating" hit-sound="sound/misc.xml:info_boulder"> <behavior> <dictionary> <entry name="category-override"><string>None</string></entry> <entry name="range"><float>1000</float></entry> <entry name="penetration"><int>100</int></entry> <entry name="dmg-mul"><float>1</float></entry> </dictionary> </behavior>
You can change the category from None (means target all) to Player (avoids players) or Enemy (avoids monsters)