Author Topic: Gun Self Delete script  (Read 704 times)

Can anyone make a script for guns so like if you press SHIFT+Right Click, you aim the gun to your head and left click pulls the trigger. It would be cool and realistic.

Sounds good, not too sure if it's possible

Sounds good, not too sure if it's possible
I imagine it working like, if you press the right mouse button with the gun, it'll replace the gun's weapon image with a weapon image similar to the default gun, except the model is given an eye offset and rotated toward the player's head, and it won't create a projectile, but it will fire, this is so that there isn't just a projectile going through your head and off into the sky, and firing the gun could run the Self Delete command or just reduce the player's health to 0

???
Or you can just animate the gun to rotate and after timeout it's %col.kill();
I don't think it would matter if the gun has unlimited ammo because "no one will see it alive"
That means any gun code should do the job.