This article's documentation is for anything that uses the Source engine. Click here for more information.

Env sprite clientside: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(not transmitted to client, client parses it from the map, it's just removed server side so it being an edict seems like a waste other than the parentname/targetname thing)
No edit summary
Line 8: Line 8:
{{warning|Remains as an edict if {{mono|targetname}} or {{mono|parentname}} is specified}}
{{warning|Remains as an edict if {{mono|targetname}} or {{mono|parentname}} is specified}}


{{OtherKIO|env_sprite|All}}
{{note|Uses same keyvalues as {{ent|env_sprite}}}}


== See also ==
== See also ==

Revision as of 01:30, 1 June 2025

English (en)Translate (Translate)

env_sprite_clientside is a point entity available in all Source Source games since Alien Swarm Alien Swarm.(also in Garry's Mod)

C++ Class hierarchy
CSprite
CBaseEntity
C++ Sprite.cpp

It is an entity that controls the drawing of a sprite in the world, created clientside so cannot be parented to moving things and will use up no network bandwidth or CPU.

Note.pngNote:This entity is the same as env_sprite with only difference being that it's removed server-side upon spawning, reducing edict usage thereafter.
Icon-Important.pngImportant:Due to this, it will not be preserved when loading a saved game; as such, this entity should only be used in multiplayer.[confirm]
Warning.pngWarning:Remains as an edict if targetname or parentname is specified
Note.pngNote:Uses same keyvalues as env_sprite

See also