BIS fnc setHitPointDamage: Difference between revisions
m (Generated by BIS_fnc_exportFunctionsToWiki)  | 
				Killzone Kid (talk | contribs)   (Created page with " {{Function|= Comments ____________________________________________________________________________________________  | arma3dev |= Game name  |1.67|= Game version ____________...")  | 
				||
| Line 3: | Line 3: | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
|   | | arma3dev |= Game name  | ||
|1.  | |1.67|= Game version  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
|   | | Sets damage to HitPoint with dependency or not (Optional)  |= Description  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
|   | | [object, hitPoint, damage, useDependency] call [[BIS_fnc_setHitPointDamage]]; |= Syntax  | ||
| |= Return value  | |p1= object: [[Object]] - Entity to which damage applies |= Parameter 1  | ||
|p2= hitPoint: [[String]] - HitPoint to which damage applies |= Parameter 1  | |||
|p3= damage:  [[Number]] - Amount of damage to apply |= Parameter 1  | |||
|p3= useDependency (Optional):  [[Boolean]]  | |||
* [[true]] (Default) - distribute damage to dependent HitPoints as well  | |||
* [[false]] - apply damage to given HitPoint only |= Parameter 1  | |||
| [[Nothing]]|= Return value  | |||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
|x1= <code></code> |=    | |x1= <code>[player, "HitFace", 0.9] [[call]] [[BIS_fnc_setHitPointDamage]];</code> |=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| |= See also  | |[[setHitPointDamage]] |= See also  | ||
}}  | }}  | ||
Revision as of 10:39, 2 March 2017
 
Description
- Description:
 - Sets damage to HitPoint with dependency or not (Optional)
 - Execution:
 - call
 - Groups:
 - Uncategorised
 
Syntax
- Syntax:
 - [object, hitPoint, damage, useDependency] call BIS_fnc_setHitPointDamage;
 - Parameters:
 - object: Object - Entity to which damage applies
 - hitPoint: String - HitPoint to which damage applies
 - useDependency (Optional): Boolean
 - Return Value:
 - Nothing
 
Examples
- Example 1:
 [player, "HitFace", 0.9] call BIS_fnc_setHitPointDamage;
Additional Information
- See also:
 - setHitPointDamage
 
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 
[[Category:Introduced with arma3dev version 1.67]][[ Category: arma3dev: New Functions | BIS FNC SETHITPOINTDAMAGE]][[ Category: arma3dev: Functions | BIS FNC SETHITPOINTDAMAGE]]