I recently started getting into LUA for console commands. I wish to add the cig_smoke.pcf to the Spy from Team Fortress 2 into my picture but I have a few issues.
First off, I spawn the effect just fine. Thanks to a previous forum user I was able to use the code
lua_run ParticleEffect ( “critgun_weaponmodel_red”, Entity(1):GetEyeTrace().HitPos + Vector(0,0,100), Angle(0,0,0), nil )
to successfully upload the effect. When I did though I noticed the LUA cannot be moved via the Physgun at least as of right now.
1. Is it possible to move LUA with the physgun?
2. If not what is the command to deleting the LUA you just spawned so you can try again and again till you position it right.
3. Is there any possible way to pose the LUA Particle Effect without having to do it manually in the console.
4. If so is there a way to look at you (x,y,z) coordinates to make the placing much easier.
Thanks to anyone that can help me out of this little pickle. I would prefer if I can just do this in the console but if it requires me to do a little notepad work I’m fine with that too.