mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
336 B
Plaintext
15 lines
336 B
Plaintext
|
/*
|
||
|
* Author: commy2
|
||
|
*
|
||
|
* Check if the object still exists and is alive. This function exists because 'alive objNull' actually returns true.
|
||
|
*
|
||
|
* Argument:
|
||
|
* 0: Any object (Object)
|
||
|
*
|
||
|
* Return value:
|
||
|
* The object exists and is alive (Bool).
|
||
|
*/
|
||
|
#include "script_component.hpp"
|
||
|
|
||
|
!isNull (_this select 0) && {alive (_this select 0)}
|