Added the actual content of logic_playmovie

This commit is contained in:
Blixibon 2021-03-16 18:23:41 -05:00
parent 39cefeff7e
commit b3fbd31eb5

View File

@ -5460,6 +5460,32 @@
]
@PointClass base(Targetname) iconsprite("editor/logic_playmovie.vmt") = logic_playmovie : "Plays a movie and allows for various playback options"
[
MovieFilename(string) : "Movie to play" : "" : "Filename of the movie to play"
allowskip(choices) : "Allow User to Skip" : 0 : "Whether or not the user may skip the video with common keys" =
[
0 : "No"
1 : "Yes"
]
loopvideo(choices) : "Loop Video" : 0 : "If set to true, the movie will loop forever" =
[
0 : "No"
1 : "Yes"
]
mute(choices) : "Mute Video" : 0 : "If set to true, the movie will not produce any sound" =
[
0 : "No"
1 : "Yes"
]
input PlayMovie(void) : "Play the movie."
input StopMovie(void) : "Stop the movie if it is currently playing."
// Outputs
output OnPlaybackFinished(void) : "Fired when the movie has completed playing back, was skipped by the user, or was stopped with StopMovie."
]
@PointClass base(Targetname) size(-8 -8 -8, 8 8 8) = point_template :
"Turns an entity, or set of entities, into a single template that can be instanced anywhere, and multiple times. "+
"If there are interdependencies (entity I/O, hierarchy, or other name references) between the entities "+