Skip to content

Commit

Permalink
Update SetPlaneSectionDamageScale.md
Browse files Browse the repository at this point in the history
Correct enum name, not like there's anything wrong with the original name provided, but camel-casing seems more common for enums within native docs.
  • Loading branch information
4mmonium authored Dec 26, 2023
1 parent d0fc931 commit 1d38af1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions VEHICLE/SetPlaneSectionDamageScale.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Adjusts the scale of damage applied to a specified section of a plane.
In the decompiled scripts the `damageScale` is always set to `0f` (maybe to disable damages on the specified section)
```c
enum PLANE_DAMAGE_SECTION {
enum ePlaneDamageSection {
WING_L = 0,
WING_R = 1,
TAIL = 2,
Expand All @@ -36,9 +36,8 @@ NativeDB Introduced: v1290

## Parameters
* **vehicle**: Plane to which the damage scale adjustment will be applied.
* **damageSection**: Specific section of the plane, as defined in the `PLANE_DAMAGE_SECTION` enum, where the damage scale will be adjusted.
* **damageSection**: Specific section of the plane, as defined in the `ePlaneDamageSection` enum, where the damage scale will be adjusted.
* **damageScale**: A float value representing the scale of damage to be applied to the specified section.

## Return value

This native does not return any value.
This native does not return any value.

0 comments on commit 1d38af1

Please sign in to comment.