Author Topic: Vehicle Destroying Weapon - help  (Read 612 times)

Well, I got this little problem here. I am writing a script for my new weapon, but - heck - I can't make up anything, that would damage only vehicles, not players. Is there anything that I could do, to make it work, or am I trying to do something implausible? If this was somewhere on forum, I'm sorry, but I didn't found it somehow :/ But I tried :D

Override the projectle collision, and only parent:: for accepted targets?

Don't do it to collisions, use the function made for it instead.

It already checks the "type" of object so you can apply different damage to $TypeMasks::VehicleObjectType instead.