Returns an array with all agent currently occupying the vehicle.
Verse using statement |
using { /Fortnite.com/Vehicles } |
GetOccupants<public>():[]agent
Parameters
GetOccupants does not take any parameters.
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with GetOccupants in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |