| Blockland Forums > Modification Help |
| Non-Exploding Shots |
| (1/1) |
| Space Guy:
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? |
| -=>RR<=-MasterCE:
Please supply script code so as we may help you better. |
| Space Guy:
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. |
| Navigation |
| Message Index |