Author Topic: Non-Exploding Shots  (Read 1475 times)

I'm attempting to make a sort of "Admin Weapon" (in retail) with RTB wrench-like modes. It seems that no matter what I do to change AgunProjectile::onCollision the bullet always does damage/explodes bricks near it/etc. (I made it explode bricks to see what was happening, but I only want it to happen in a certain mode)

How would I make a projectile only hit and damage something if a certain variable is set?
« Last Edit: March 10, 2007, 02:48:27 AM by Space Guy »

Please supply script code so as we may help you better.

Adding to first post. The onFire Self Delete is supposed to be there and the "gun" mode thing below it is RTB's edited. (Works fine, I'll keybind it or something later)

The onCollision is left empty as I am unsure what to add there.