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>
24 lines
458 B
Plaintext
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)
|