AISFinishHeal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| '''AISFinishHeal''' [unit,unit,bool] |= Syntax
| '''AISFinishHeal''' [unit, healer, healercanheal] |= Syntax


|p1= [unit,unit,bool]: Array - |= PARAMETER1  
|p1= [unit, healer, healercanheal]: [[Array]] |= PARAMETER1  


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


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


| Nothing |= RETURNVALUE
|p4= healercanheal: [[Boolean]] |= PARAMETER4


| [[Nothing]] |= RETURNVALUE


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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ArmA_2:_Event_Handlers#HandleHeal | handleHeal eventhandler]] |= SEEALSO  
| [[setAIS]], [[ArmA_2:_Event_Handlers#HandleHeal]], [[ArmA_3:_Event_Handlers#HandleHeal]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 15:30, 4 October 2013

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:
Uncategorised

Syntax

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

Examples

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

Additional Information

See also:
setAISArmA_2:_Event_Handlers#HandleHealArmA_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

Notes

Bottom Section