client/addons/briefing/functions/fnc_spawnPresentation.sqf
Jacob Schmidt c6daf95415
All checks were successful
Build / Build (push) Successful in 53s
Initial Repo Setup
2025-01-01 14:35:12 -06:00

26 lines
584 B
Plaintext

#include "..\script_component.hpp"
/*
Name: forge_client_briefing_fnc_spawnLecture
Date: 8/6/2022
Version: 1.0
Author: J. Schmidt
Description:
Object displays a slideshow presentation.
Parameter(s):
0: Object that will display the presentation. <OBJECT>
1: Slides that will be used for the presentation. <ARRAY>
1-0: Texture used for the Slide. <STRING>
1-1: Amount of Time the Slide will display. <NUMBER>
*/
params ["_object", "_slides"];
{
_x params ["_texture", "_delay"];
_object setObjectTextureGlobal [0, _texture];
uiSleep _delay;
true
} count (_slides);