LoadVideo¶
Notice
This is a new function added in RSDKv4+.
Loads and plays a video.
The compatible video formats and directory containing the videos vary depending on the version of the game/engine:
.ogvfiles stored inData/Videos/..rsvfiles stored inData/Sprites/.- Sonic Origins: Videos are stored and handled by Hedgehog Engine 2.
Parameters¶
Name-
The name of the video file to load. Unless you're loading an RSV file, the file extension should be excluded. See the list above for what path this is relative to.
AudioTrack-
(WORKS ON OGV ONLY) Which audio track to play stored in the video file.
Return Value¶
None.