mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
320 B
Plaintext
21 lines
320 B
Plaintext
/*
|
|
* Author: Jonpas
|
|
* Checks if object has slides.
|
|
*
|
|
* Arguments:
|
|
* 0: Object <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Has Slides <BOOL>
|
|
*
|
|
* Example:
|
|
* [object] call ace_slideshow_fnc_hasSlides;
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
PARAMS_1(_object);
|
|
|
|
(!isNil {_object getVariable [QGVAR(Slides), nil]})
|