CTEBloodStream: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
...
...


<code>
<pre>
local origin = player:GetAbsOrigin();
local origin = player:GetAbsOrigin();
origin.z = origin.z + 8;
origin.z = origin.z + 8;
Line 12: Line 12:
                               m_nAmount=100,
                               m_nAmount=100,
                               m_vecDirection=Vector(0, 0, 0)}, nil);
                               m_vecDirection=Vector(0, 0, 0)}, nil);
</code>
</pre>


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/te_bloodstream.cpp /game/server/te_bloodstream.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/te_bloodstream.cpp /game/server/te_bloodstream.cpp]'''

Revision as of 01:27, 25 November 2022

Overview

...

local origin = player:GetAbsOrigin();
origin.z = origin.z + 8;
tempents.Send("Blood Stream", {m_vecOrigin=origin,
                               r=255,
                               g=255,
                               b=0,
                               a=255,
                               m_nAmount=100,
                               m_vecDirection=Vector(0, 0, 0)}, nil);

Source location : /game/server/te_bloodstream.cpp

Class Structure

SendProps

CTEBloodStream
Name Type Description
m_vecDirection Vector
r Integer
g Integer
b Integer
a Integer
m_nAmount Integer