diff --git a/WEAPON/CreateAirDefenceAngledArea.md b/WEAPON/CreateAirDefenceAngledArea.md new file mode 100644 index 000000000..6be353788 --- /dev/null +++ b/WEAPON/CreateAirDefenceAngledArea.md @@ -0,0 +1,25 @@ +--- +ns: WEAPON +aliases: ["0x9DA58CDBF6BDBC08", "_CREATE_AIR_DEFENSE_AREA"] +--- +## CREATE_AIR_DEFENCE_ANGLED_AREA + +```c +// 0x9DA58CDBF6BDBC08 0x7F1E89F4 +int CREATE_AIR_DEFENCE_ANGLED_AREA(float srcCoord1X, float srcCoord1Y, float srcCoord1Z, float srcCoord2X, float srcCoord2Y, float srcCoord2Z, float fWidth, float weaponPositionX, float weaponPositionY, float weaponPositionZ, cs_type(Any) Hash weaponHash); +``` + +## Parameters +* **srcCoord1X**: +* **srcCoord1Y**: +* **srcCoord1Z**: +* **srcCoord2X**: +* **srcCoord2Y**: +* **srcCoord2Z**: +* **fWidth**: +* **weaponPositionX**: +* **weaponPositionY**: +* **weaponPositionZ**: +* **weaponHash**: + +## Return value diff --git a/WEAPON/CreateAirDefenseSphere.md b/WEAPON/CreateAirDefenceSphere.md similarity index 62% rename from WEAPON/CreateAirDefenseSphere.md rename to WEAPON/CreateAirDefenceSphere.md index bf7398c6d..4a361c683 100644 --- a/WEAPON/CreateAirDefenseSphere.md +++ b/WEAPON/CreateAirDefenceSphere.md @@ -1,12 +1,12 @@ --- ns: WEAPON -aliases: ["0x91EF34584710BE99"] +aliases: ["0x91EF34584710BE99", "_CREATE_AIR_DEFENSE_SPHERE"] --- -## _CREATE_AIR_DEFENSE_SPHERE +## CREATE_AIR_DEFENCE_SPHERE ```c -// 0x91EF34584710BE99 -int _CREATE_AIR_DEFENSE_SPHERE(float x, float y, float z, cs_type(int) float radius, float p4, float p5, float p6, Hash weaponHash); +// 0x91EF34584710BE99 0x767C2435 +int CREATE_AIR_DEFENCE_SPHERE(float x, float y, float z, cs_type(int) float radius, float weaponPositionX, float weaponPositionY, float weaponPositionZ, Hash weaponHash); ``` Both coordinates are from objects in the decompiled scripts. @@ -14,13 +14,13 @@ Both coordinates are from objects in the decompiled scripts. Native related to [_0xECDC202B25E5CF48](#_0xECDC202B25E5CF48) p1 value. The only weapon hash used in the decompiled scripts is weapon_air_defence_gun. These two natives are used by the yacht script, decompiled scripts suggest it and the weapon hash used (valkyrie's rockets) are also used by yachts. ## Parameters -* **x**: X coordinate -* **y**: Y coordinate -* **z**: Z coordinate +* **x**: +* **y**: +* **z**: * **radius**: Unknown float 150.0 is used in freemode script. -* **p4**: X coordinate -* **p5**: Y coordinate -* **p6**: Z coordinate +* **weaponPositionX**: +* **weaponPositionY**: +* **weaponPositionZ**: * **weaponHash**: weapon_air_defence_gun and 0 are used in the decompiled scripts. ## Return value diff --git a/WEAPON/CreateAirDefenseArea.md b/WEAPON/CreateAirDefenseArea.md deleted file mode 100644 index 5f0a65467..000000000 --- a/WEAPON/CreateAirDefenseArea.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -ns: WEAPON -aliases: ["0x9DA58CDBF6BDBC08"] ---- -## _CREATE_AIR_DEFENSE_AREA - -```c -// 0x9DA58CDBF6BDBC08 -int _CREATE_AIR_DEFENSE_AREA(float p0, float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, cs_type(Any) Hash weaponHash); -``` - - -## Parameters -* **p0**: -* **p1**: -* **p2**: -* **p3**: -* **p4**: -* **p5**: -* **p6**: -* **p7**: -* **p8**: -* **p9**: -* **weaponHash**: - -## Return value