This member has provided no bio about themself...

Comment History
thehunt
thehunt - - 1 comments @ How to make a laser weapon (hl2 mod)

Has anyone actually gotten this to work? My laser is being created and it looks way cool, but it's not disappearing...
The code calls the LiveForTime( 0.1f ) method and the 2 statements inside:
SetThink(&CBeam::SUB_Remove);
SetNextThink( gpGlobals->curtime + time );

...but nothing happens. If I shoot 10 times, I have 10 lasers shooting out but they don't go away.

Good karma+1 vote