Skybox swapper: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| mNo edit summary | m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) | ||
| Line 9: | Line 9: | ||
| }} | }} | ||
| {{this is a| | {{this is a|point entity|since=Alien Swarm|name=skybox_swapper}}  It is also available in {{tf2|4}} and {{mapbase|4}}. | ||
| == Entity description == | == Entity description == | ||
| Precaches and replaces the current 2D skybox material with another. Functionally equivalent to sv_skyname, even using the command in its functionality. | Precaches and replaces the current 2D skybox material with another. Functionally equivalent to sv_skyname, even using the command in its functionality. | ||
Revision as of 19:05, 17 May 2024
| skybox_swapper | |
|---|---|
|  | |
| Type | Point entity | 
| Engine |  Source | 
| Availability | (in all games since  )(also in   ) | 
skybox_swapper  is a   point entity  available in all  Source games since
 Source games since  Alien Swarm.  It is also available in
 Alien Swarm.  It is also available in  Team Fortress 2 and
 Team Fortress 2 and  Mapbase.
 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. parentnameortarget).
 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."
]


