gun

Procs | |
set_gun_light | Swaps the gun's seclight, dropping the old seclight if it has not been qdel'd. |
---|
Proc Details
set_gun_light
Swaps the gun's seclight, dropping the old seclight if it has not been qdel'd.
Returns the former gun_light that has now been replaced by this proc. Arguments:
- new_light - The new light to attach to the weapon. Can be null, which will mean the old light is removed with no replacement.