AISFinishHeal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ") |
Lou Montana (talk | contribs) m (Fix) |
||
Line 17: | 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, | |s1= [[AISFinishHeal]] [unit, healer, healerCanHeal] | ||
|p1= | |p1= unit: [[Object]] - wounded | ||
|p2= | |p2= healer: [[Object]] - medic | ||
|p3= | |p3= healerCanHeal: [[Boolean]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Line 31: | Line 29: | ||
|x1= <code>[[AISFinishHeal]] [_wounded, _medic, [[true]]];</code> | |x1= <code>[[AISFinishHeal]] [_wounded, _medic, [[true]]];</code> | ||
|seealso= | |seealso= {{HashLink|Arma 2: Event Handlers#HandleHeal}}, {{HashLink|Arma 3: Event Handlers#HandleHeal}} | ||
}} | }} |
Revision as of 09:56, 5 July 2021
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
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