mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
caca92f71d
* merge fire * Change required addons. Change getPos to getPosASL. Remove include * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Kyle Mckay <kymckay.dev@gmail.com> * Update addons/fire/stringtable.xml Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: Kyle Mckay <kymckay.dev@gmail.com>
22 lines
370 B
Plaintext
22 lines
370 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: Brandon (TCVM)
|
|
* Returns if unit can pat down fire or not.
|
|
*
|
|
* Arguments:
|
|
* 0: Medic (not used) <OBJECT>
|
|
* 1: Patient <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Can Pat-Down <BOOL>
|
|
*
|
|
* Example:
|
|
* [nil, player] call ace_fire_fnc_medical_canPatDown
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["", "_patient"];
|
|
|
|
[_patient] call FUNC(isBurning)
|