This page is a candidate for speedy deletion because:
Horrible tutorial that encourages bad practices (overriding user's keys in a map) and doesn't even work (quotes in the parameter field).
If you disagree with its speedy deletion, please explain why on its talk page. If this page obviously does not meet the criteria for speedy deletion, or you intend to fix it, please remove this notice, but do not remove this notice from articles that you have created yourself.
remember the paintgun from aperture tag. lets create the paintgun from that game.
making the gel sprayer
make an info_paint_sprayer and set it to whatever gel you like(you can make multiple if you want)
making it spray when you click
you can do this in 2 ways:
- you can set a binding for the ent_fire command
- you can make a point_servercommand to set the binding for you.
for the 2nd one you will need an output on something so that the binding can be set when it is triggered, then when you click it will paint the place(see also logic_auto) these are the outputs you will need for the trigger
My Output Target Entity Target Input Parameter Delay Only Once OnMapSpawn PaintGun_sprayer command bind mouse1 "ent_fire gel_spray start" 0.00 No