Skip to content

Commit

Permalink
feat(vehicles/genarea): update cargen area natives
Browse files Browse the repository at this point in the history
  • Loading branch information
spacevx committed Dec 21, 2023
1 parent 5d614f1 commit e76e6ba
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 36 deletions.
12 changes: 12 additions & 0 deletions VEHICLE/ClearVehicleGeneratorAreaOfInterest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
ns: VEHICLE
aliases: ["0x0A436B8643716D14"]
---
## CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST

```c
// 0x0A436B8643716D14 0x6C73E45A
void CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST();
```

Removes the cargen area of interest and resumes normal cargen spawning
14 changes: 0 additions & 14 deletions VEHICLE/N_0x0a436b8643716d14.md

This file was deleted.

22 changes: 0 additions & 22 deletions VEHICLE/N_0x9a75585fb2e54fad.md

This file was deleted.

21 changes: 21 additions & 0 deletions VEHICLE/SetVehicleGeneratorAreaOfInterest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
ns: VEHICLE
aliases: ["0x9A75585FB2E54FAD"]
---
## SET_VEHICLE_GENERATOR_AREA_OF_INTEREST

```c
// 0x9A75585FB2E54FAD 0x935A95DA
void SET_VEHICLE_GENERATOR_AREA_OF_INTEREST(float x, float y, float z, float radius);
```
Specifies an area of interest where cargens will focus on spawning vehicles
You can clear the area of interest with [`CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST`](#_0x0A436B8643716D14)
## Parameters
* **x**: The X coordinate of the central point of the area of interest.
* **y**: The Y coordinate of the central point of the area of interest.
* **z**: The Z coordinate of the central point of the area of interest.
* **radius**: The radius around the central point, defining the size of the area of interest

0 comments on commit e76e6ba

Please sign in to comment.