2015-01-17 05:58:24 +00:00
|
|
|
/*
|
2015-03-24 04:18:00 +00:00
|
|
|
* Author: esteldunedain
|
2015-10-21 20:52:21 +00:00
|
|
|
* Executes a code once with a given game time delay, using a PFH
|
2015-01-17 05:58:24 +00:00
|
|
|
*
|
2015-09-17 16:25:02 +00:00
|
|
|
* Arguments:
|
|
|
|
* 0: Code to execute <CODE>
|
|
|
|
* 1: Parameters to run the code with <ARRAY>
|
|
|
|
* 2: Delay in seconds before executing the code <NUMBER>
|
2015-01-17 05:58:24 +00:00
|
|
|
*
|
2015-09-17 16:25:02 +00:00
|
|
|
* Return Value:
|
2015-05-26 03:46:56 +00:00
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [{(_this select 0) setVelocity [0,0,200];}, [player], 10] call ace_common_fnc_waitAndExecute
|
|
|
|
*
|
2015-09-29 22:14:21 +00:00
|
|
|
* Public: Yes
|
2015-01-17 05:58:24 +00:00
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2016-05-22 13:25:59 +00:00
|
|
|
ACE_DEPRECATED("ace_common_fnc_waitAndExecute","3.8.0","CBA_fnc_waitAndExecute");
|
|
|
|
|
2016-05-22 14:01:12 +00:00
|
|
|
_this call CBA_fnc_waitAndExecute;
|