BIS fnc reviveEhDammaged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - " |p1= |r1= |x1= }}" to " |p1= |r1= |x1= |seealso= }}")
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.42


|1.42
|gr1= Revive


|gr1 = Revive
|descr= <pre>/*
 
<!---|arg= local |Multiplayer Arguments=--->
 
<!---|eff= local |Multiplayer Effects=--->
 
| <pre>/*
unit: Object - Object the event handler is assigned to
unit: Object - Object the event handler is assigned to
hitSelection: String - Name of the selection where the unit was damaged
hitSelection: String - Name of the selection where the unit was damaged
Line 19: Line 14:
shooter: Object - shooter reference (to get instigator use getShotParents on projectile)
shooter: Object - shooter reference (to get instigator use getShotParents on projectile)
projectile: Object - the projectile that caused damage
projectile: Object - the projectile that caused damage
*/</pre>{{placeholder}}<!-- Remove this after fill-in -->
*/</pre>{{Wiki|placeholder}}<!-- Remove this after fill-in -->
 
|[] call [[BIS_fnc_reviveEhDammaged]]
 
|p1= parameter: Datatype - (Optional, default defValue) description
 
|Datatype - description


|x1= <code></code>
|s1= [] call [[BIS_fnc_reviveEhDammaged]]


|exec= call}}
|p1=  


|r1=


|x1=


[[Category:{{Name|arma3}}: Functions|{{uc:reviveEhDammaged}}]]
|seealso=
}}

Latest revision as of 02:22, 13 June 2021

Hover & click on the images for description

Description

Description:
/*
unit: Object - Object the event handler is assigned to
hitSelection: String - Name of the selection where the unit was damaged
damage: Number - Resulting level of damage
hitPartIndex: Number - hit index of the hit selection
hitPoint: String - hit point Cfg name
shooter: Object - shooter reference (to get instigator use getShotParents on projectile)
projectile: Object - the projectile that caused damage
*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Revive

Syntax

Syntax:
[] call BIS_fnc_reviveEhDammaged
Return Value:
Return value needed

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

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