Tf objective resource: Difference between revisions
Jump to navigation
Jump to search
Warning:removing this entity will likely crash the game quickly after the player joins a team or is already in a team at the time of its removal.
In code, it is represented by the
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(Added warning about the game crashing if the entity gets removed) |
||
Line 1: | Line 1: | ||
{{ent not in fgd|codeonly=1}} | |||
{{this is a|point entity|game=Team Fortress 2|name=tf_objective_resource}} | {{this is a|point entity|game=Team Fortress 2|name=tf_objective_resource}} | ||
{{warning|removing this entity will likely crash the game quickly after the player joins a team or is already in a team at the time of its removal.}} | |||
{{code class|CTFObjectiveResource|tf_objective_resource.cpp}}<sup>(Server side)</sup> For the client side entity, the class name is ''<code>C_TFObjectiveResource</code>'' located in ''<code>tf_objective_resource.cpp</code>''. | {{code class|CTFObjectiveResource|tf_objective_resource.cpp}}<sup>(Server side)</sup> For the client side entity, the class name is ''<code>C_TFObjectiveResource</code>'' located in ''<code>tf_objective_resource.cpp</code>''. | ||
==Entity description== | ==Entity description== |
Revision as of 16:21, 4 September 2024

tf_objective_resource
is a point entity available in Team Fortress 2.


CTFObjectiveResource
class, defined in thetf_objective_resource.cpp
file.
(Server side) For the client side entity, the class name is C_TFObjectiveResource
located in tf_objective_resource.cpp
.
Entity description
This entity manages many HUD elements in the Mann vs. Machine gamemode, such as bomb upgrade status, the mission name displayed on the scoreboard, and the wavebar.