2015-08-24 15:10:54 +00:00
|
|
|
/*
|
|
|
|
* Author: joko // Jonas
|
|
|
|
* Executes a code once with after the Condition is True, using a PFH
|
|
|
|
*
|
|
|
|
* Argument:
|
|
|
|
* 0: Condition <CODE>
|
|
|
|
* 1: Code to execute <CODE>
|
|
|
|
* 2: Parameters to run the code with <ARRAY,ANY,NIL>
|
|
|
|
*
|
|
|
|
* Return value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
2015-08-25 18:18:59 +00:00
|
|
|
* [{(_this select 0) == vehicle (_this select 0)}, {(_this select 0) setDamage 1;}, [ACE_player]] call ace_common_fnc_waitAndExecute
|
2015-08-24 15:10:54 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-08-25 18:18:59 +00:00
|
|
|
TRACE_1("Adding",_this);
|
|
|
|
|
2015-08-24 15:10:54 +00:00
|
|
|
GVAR(waitUntilAndExecArray) pushBack _this;
|
2015-09-25 11:29:39 +00:00
|
|
|
nil
|