AISFinishHeal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "{{HashLink" to "{{Link")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2  
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= Object Manipulation
|gr1= Object Manipulation
Line 9: Line 17:
|descr= Alternative Injury Simulation (AIS) end state. Used to tell engine that script side healing is done when using "HandleHeal" event handler.  
|descr= Alternative Injury Simulation (AIS) end state. Used to tell engine that script side healing is done when using "HandleHeal" event handler.  


|s1= '''AISFinishHeal''' [unit, healer, healercanheal]
|s1= [[AISFinishHeal]] [unit, healer, healerCanHeal]
 
|p1= [unit, healer, healercanheal]: [[Array]]


|p2= unit: [[Object]] - wounded  
|p1= unit: [[Object]] - wounded  


|p3= healer: [[Object]] - medic  
|p2= healer: [[Object]] - medic  


|p4= healercanheal: [[Boolean]]  
|p3= healerCanHeal: [[Boolean]]  


|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[ArmA_2:_Event_Handlers#HandleHeal]], [[ArmA_3:_Event_Handlers#HandleHeal]]
|seealso= {{Link|Arma 2: Event Handlers#HandleHeal}} {{Link|Arma 3: Event Handlers#HandleHeal}}
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 17: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