Skybox swapper: Difference between revisions
Jump to navigation
Jump to search
m (Mapbase) |
mNo edit summary |
||
Line 6: | Line 6: | ||
|type=e0 | |type=e0 | ||
|engine=2 | |engine=2 | ||
|in={{as|since}} | |in={{as|since}}{{also|{{tf2}}{{mapbase}}}} | ||
}} | }} | ||
Revision as of 08:06, 19 March 2024
skybox_swapper | |
---|---|
![]() | |
Type | Point entity |
Engine | ![]() |
Availability | (in all games since ![]() ![]() ![]() |
skybox_swapper
is an e0 available in all Source games since
Alien Swarm. It is also available in
Team Fortress 2 and
Mapbase.
Entity description
Precaches and replaces the current 2D skybox material with another. Functionally equivalent to sv_skyname, even using the command in its functionality.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- Trigger
- Triggers the skybox change.
Outputs
FGD Code
@PointClass base(Targetname) iconsprite("editor/skybox_swapper.vmt") = skybox_swapper : "An entity that precaches skybox materials and swaps them on trigger." [ SkyboxName(string) : "Skybox Material Name" : "" input Trigger(void) : "Swap to this skybox." ]