CTEBloodStream: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
...
...
<code lang="lua">
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);
</code>


'''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:26, 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