Get Hazards
Gets a list of all hazards.
Response Body
| Name | Type | Description |
|---|---|---|
ID |
String |
Unique ID of the Spore Flower. |
Name |
String |
Name of the Hazard. |
ClassName |
String |
ClassName of the Hazard. |
location |
Object |
Location details of the Hazard. |
x |
Float |
X Location in the World. |
y |
Float |
Y Location in the World. |
z |
Float |
Z Location in the World. |
rotation |
Float |
Rotation of the Actor (0 - 359, 0 = North, 90 = East, 180 = South, 270 = West). |
State |
String |
Current state of the hazard. Possible values are "Idle", "Expanding", "Retracting" and "Active". |
Gas State |
String |
Current state of the hazard. Possible values are "No Gas", "Gas", and "Cooldown". |
Significant |
Boolean |
Is the actor within range to perform animations, ticks, and other processing |
Dead |
Boolean |
Does the actor persist despite being blown up? |
features |
Object |
An object with actor coordinates and name information. |
properties |
Object |
Name information about the actor. |
name |
String |
Display Name of the Actor. |
type |
String |
Type of the Object. |
geometry |
Object |
Geometry information about the Actor. |
coordinates |
Object |
The Actor coordinates. |
x |
Float |
X Location of the Actor. |
y |
Float |
Y Location of the Actor. |
z |
Float |
Z Location of the Actor. |
type |
String |
It’s always "Point". |
Example Response
[
{
"ID": "BP_SporeFlower25_13738",
"ClassName": "BP_SporeFlower_C",
"location": {
"x": -17811,
"y": 269409,
"z": -6977.728515625,
"rotation": 90
},
"State": "Idle",
"GasState": "NoGas",
"Significant": false,
"Dead": false,
"features": {
"properties": {
"name": "BP_SporeFlower_C",
"type": "Spore Flower"
},
"geometry": {
"coordinates": {
"x": -17811,
"y": 269409,
"z": -6977.728515625
},
"type": "Point"
}
}
}
]