AISFinishHeal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "{{HashLink" to "{{Link")
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Alternative Injury Simulation (AIS) end state. Used to tell engine that script side healing is done when using "HandleHeal" event handler. |DESCRIPTION=
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| '''AISFinishHeal''' [unit, healer, healercanheal] |SYNTAX=
|game4= arma3
|version4= 0.50


|p1= [unit, healer, healercanheal]: [[Array]]  |PARAMETER1=  
|gr1= Object Manipulation


|p2= unit: [[Object]] - wounded |PARAMETER2=  
|descr= Alternative Injury Simulation (AIS) end state. Used to tell engine that script side healing is done when using "HandleHeal" event handler.


|p3= healer: [[Object]] - medic |PARAMETER3= 
|s1= [[AISFinishHeal]] [unit, healer, healerCanHeal]


|p4= healercanheal: [[Boolean]] |PARAMETER4=
|p1= unit: [[Object]] - wounded


| [[Nothing]] |RETURNVALUE=
|p2= healer: [[Object]] - medic


|p3= healerCanHeal: [[Boolean]]


|x1= <code>[[AISFinishHeal]] [_wounded, _medic, [[true]]];</code>|EXAMPLE1=
|r1= [[Nothing]]


____________________________________________________________________________________________
|x1= <sqf>AISFinishHeal [_wounded, _medic, true];</sqf>


| [[ArmA_2:_Event_Handlers#HandleHeal]], [[ArmA_3:_Event_Handlers#HandleHeal]] |SEEALSO=
|seealso= {{Link|Arma 2: Event Handlers#HandleHeal}} {{Link|Arma 3: Event Handlers#HandleHeal}}
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 18:43, 4 January 2023

Hover & click on the images for description

Description

Description:
Alternative Injury Simulation (AIS) end state. Used to tell engine that script side healing is done when using "HandleHeal" event handler.
Groups:
Object Manipulation

Syntax

Syntax:
AISFinishHeal [unit, healer, healerCanHeal]
Parameters:
unit: Object - wounded
healer: Object - medic
healerCanHeal: Boolean
Return Value:
Nothing

Examples

Example 1:
AISFinishHeal [_wounded, _medic, true];

Additional Information

See also:
Arma 2: Event Handlers - HandleHeal Arma 3: Event Handlers - HandleHeal

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note