When I use damage on lading the attack boxes can hit players is there a way to set this to only hit enemies ?
I could use a ondoattack script to null these attacks to players or a script to change the candamage property but I was hoping there is a more simple solution I have overlooked !
edit: Found what I was looking for:
I could use a ondoattack script to null these attacks to players or a script to change the candamage property but I was hoping there is a more simple solution I have overlooked !
edit: Found what I was looking for:
projectilehit {type1} {type2} ...
Optional.
Do not let the name confuse you, this is not for projectiles. This
setting specifies what types this entity will hit when thrown from a grab. * Available types are enemy, player, npc, obstacle, shot and you can use as many as you need. If you don't want entity to hit anything, just set 'none' here.
Be aware if you use this setting, you must provide all types you wish this entity to be able to hit when thrown. That is to say, an enemy with ‘projectilehit player’ will only hit players when thrown, not other enemies.
Last edited by a moderator: