SpectateReturn
Where players.stopSpectating puts a spectator, on foot. Without one, they
go back to their vehicle seat if it is free, or else to where they started watching.
Definition
Section titled “Definition”type SpectateReturn = Readonly<{ position: Vector3; facingAngleRadians?: number; interior?: number }>;Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
position |
Vector3 |
Where they stand. |
facingAngleRadians |
number |
Optional. Which way they face. Renamed in 0.28 from heading. |
interior |
number |
Optional. The interior, 0 outside, 1-18 an interior’s, with a position inside it. Renamed in 0.28 from area. |