CTESparks: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/te_sparks.cpp /game/server/te_sparks.cpp]''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/te_sparks.cpp /game/server/te_sparks.cpp]''' | ||
<pre> | |||
tempents.Send("Sparks", {m_vecOrigin=Vector(0, 0, 0), | |||
m_nMagnitude=2, | |||
m_nTrailLength=1, | |||
m_vecDir=Vector(0, 0, 0)}, nil); | |||
</pre> | |||
==[[Classes|Class Structure]]== | ==[[Classes|Class Structure]]== |
Revision as of 01:41, 25 November 2022
Overview
...
Source location : /game/server/te_sparks.cpp
tempents.Send("Sparks", {m_vecOrigin=Vector(0, 0, 0), m_nMagnitude=2, m_nTrailLength=1, m_vecDir=Vector(0, 0, 0)}, nil);
Class Structure
- CBaseTempEntity
- CTEParticleSystem
- CTESparks
- CTEParticleSystem
SendProps
Name | Type | Description |
---|---|---|
m_nMagnitude | Integer | How large the base sphere for the spark particle is |
m_nTrailLength | Integer | How long the spark trails flung from the base sphere are |
m_vecDir | Vector | The specific direction the spark trails will go in. If not specified the spark trails will emit in all directions |