ace_scopes_fnc_getBaseAngle
Description
Gets the base angle of the weapon & optic combination with the given weapon index
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT | |
1 | Weapon index | NUMBER |
Return Value
Description | Datatype(s) |
---|---|
base angle | NUMBER |
Example
[player, 0] call ace_scopes_fnc_getBaseAngle
Authors
- Ruthberg
ace_scopes_fnc_getBoreHeight
Description
Gets the bore height of the weapon & optic combination with the given weapon index
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT | |
1 | Weapon index | NUMBER |
Return Value
Description | Datatype(s) |
---|---|
bore height | NUMBER |
Example
[player, 0] call ace_scopes_fnc_getBoreHeight
Authors
- Ruthberg