• Solutions for Cannot update control point?
    8 replies, posted
So whenever the player dies when a particle from my swep base emitts, the console starts to spam with this error: [code] Cannot update control point 2 for effect 'smoke_trail'. [/code] What can i do to fix this?
Remove the effect.
[QUOTE=Robotboy655;44529326]Remove the effect.[/QUOTE] besides that? I want the effect. Do you mean remove it in the OnRemove/holster function?
Remove the effect when player dies and respawn it when player respawns. There's no other way around it.
[QUOTE=Robotboy655;44529541]Remove the effect when player dies and respawn it when player respawns. There's no other way around it.[/QUOTE] Whats the function for doing so?
Is the effect called inside an effect file? Inside EFFECT:Think there should be code that terminates itself if the life-time is up. Just add || !Player:Alive( ) for or player not alive - you need to make sure Player is the correct entity.
[QUOTE=buu342;44529626]Whats the function for doing so?[/QUOTE] [url]http://wiki.garrysmod.com/page/Entity/StopParticles[/url] Or just remove the entity if you are using info_particle_controller [QUOTE=Acecool;44529823]Is the effect called inside an effect file? Inside EFFECT:Think there should be code that terminates itself if the life-time is up. Just add || !Player:Alive( ) for or player not alive - you need to make sure Player is the correct entity.[/QUOTE] We are obviously talking about OB particles, since Lua particles don't have control points. Pay attention, boy.
Got it working! thanks!
Well its back, still get the error. Now i also get one talking about an invalid matrix?
Sorry, you need to Log In to post a reply to this thread.