ACE3/addons/fire/functions/fnc_medical_progress.sqf
Brandon Danyluk caca92f71d
Add Fire component (#8245)
* 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>
2021-10-14 10:49:10 -05:00

24 lines
458 B
Plaintext

#include "script_component.hpp"
/*
* Author: Brandon (TCVM)
* Checks if patient is still burning for medical progress to continue.
*
* Arguments:
* 0: Arguments <ARRAY>
* 0: Medic <OBJECT>
* 1: Patient <OBJECT>
*
* Return Value:
* Continue pat down <BOOL>
*
* Example:
* [[player, cursorObject]] call ace_fire_fnc_medical_progress
*
* Public: No
*/
params ["_args"];
_args params ["_medic", "_patient"];
[_patient] call FUNC(isBurning)