Api session event editor map set height sector
Jump to navigation
Jump to search
API Event to Update Heightmap Sector Data
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (HEIGHT Integer ID) | Height Sector ID | |
| 1 | REQUIRED | (Integer number or multiple values in array [1, 2, 3]) | Header: sector widthPoints, columns, rows, baseX, baseY | |
| 2 | REQUIRED | (Floating point number or multiple values in array [1.0, 2.0, 3.0]) | Matrix Data Array |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editormap/set_height_sector/?f=JSON&token=API_TOKEN
with content:
[ 7, [ 1, 2, 3 ], [ 1.0, 2.0, 3.0 ] ]