getHitPointDamage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 70: | Line 70: | ||
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:38, 25 March 2013
Description
- Description:
- Return current level of damage for a specific Hit Point (specified by its config class).
- 0: no damage
- 1: full damage
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle getHitPointDamage hitPointName
- Parameters:
- vehicle : Object - vehicle to be queried
- hitPointName: String - name of the Hit Point class
- Return Value:
- Number
Examples
- Example 1:
(vehicle player) getHitPointDamage "hitEngine";
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
Notes
-
Common ObjectRTD TKOH Hit Points:
- HitEngine (engine #1)
- HitEngine2 (engine #2)
- HitEngine3 (engine #3)
- HitHRotor (main rotor)
- HitVRotor (tail rotor)
- HitBatteries (electrical systems)
- HitLight (landing light)
- HitHydraulics (entire hydraulics system)
- HitTransmission (engine transmission)
- HitGear (landing gear)
- HitFuel (all fuel tanks)
- HitHStabilizerL1 (first left horizontal stabilizer)
- HitHStabilizerR1 (first right horizontal stabilizer)
- HitVStabilizer1 (first vertical stabilizer)
- HitTail (tail boom)
- HitPitotTube (all pitot tubes)
- HitStaticPort (all static ports)
- HitStarter1 (starter for engine #1)
- HitStarter2 (starter for engine #2)
- HitStarter3 (starter for engine #3)
- HitAvionics
- HitHull
- HitMissiles
- HitRGlass
- HitLGlass
- HitGlass1
- HitGlass2
- HitGlass3
- HitGlass4
- HitGlass5
- HitGlass6
Bottom Section
Categories:
- Scripting Commands
- Introduced with Take On Helicopters version 1.00
- Take On Helicopters: New Scripting Commands
- Take On Helicopters: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands Take On Helicopters
- Take On Helicopters: New Scripting Commands List
- Arma 3: New Scripting Commands List
- Scripting Commands Arma 3