Logic playmovie: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) | m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) | ||
| Line 1: | Line 1: | ||
| {{this is a| | {{this is a|point entity|name=logic_playmovie|since=Alien Swarm}} It plays a movie of .bik or .ivf format and allows for various playback options. It is not supported in {{csgo|4}} | ||
| ==Keyvalues== | ==Keyvalues== | ||
Revision as of 18:08, 17 May 2024
logic_playmovie  is a   point entity  available in all  Source games since
 Source games since  Alien Swarm. It plays a movie of .bik or .ivf format and allows for various playback options. It is not supported in
 Alien Swarm. It plays a movie of .bik or .ivf format and allows for various playback options. It is not supported in  Counter-Strike: Global Offensive
 Counter-Strike: Global Offensive
Keyvalues
- Allow User to Skip ([todo internal name (i)]) <boolean>
- Whether or not the user may skip the video with common keys.
- Loop Video ([todo internal name (i)])  <boolean> (in all games since  ) )
- If set to true, the movie will loop forever, until told to stop.
- Fade In Time ([todo internal name (i)])  <float> (in all games since  ) )
- Time it takes for the video to fade in.
- 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
- PlayMovie
- Play the movie.
- PlayMovieForAllPlayers   (in all games since  ) )
- Play the movie for all connected players.
- PlayLevelTransitionMovie  <string> (in all games since  ) )
- Plays a movie with specific settings used for level transitions. Pass the name of the movie in the parameters. To be fired at the end of a level.
- FadeAllMovies   (in all games since  ) )
- Fade movies out for all players connected.
Outputs
- OnPlaybackFinished
- Fired when the movie has completed playing back or was skipped by the user.
