Talk:Firesmoke

From Valve Developer Community
Revision as of 18:31, 22 September 2019 by Ninjaofsauce (talk | contribs) (Created page with " I tried to make fire where my crossbow hit. :CBaseEntity *pBlaze; :pBlaze = Create("_firesmoke", tr.endpos, GetAbsAngles(),pOther); :pBlaze->Spawn(); The fire disappears even...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I tried to make fire where my crossbow hit.

CBaseEntity *pBlaze;
pBlaze = Create("_firesmoke", tr.endpos, GetAbsAngles(),pOther);
pBlaze->Spawn();

The fire disappears eventually but won't stick with the parents (pOther - npc hit by bolt). Likely I will have to switch to env_fire or make a firesprite appear with other means.--Ninjaofsauce (talk) 01:31, 23 September 2019 (UTC)