Api session event editor map set height sector

From Tygron Support wiki
Revision as of 10:11, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Update Heightmap Sector Data {|class=wikitable !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=== {|class=wikitable !Response Code: !Descripti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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=HTML&token=API_TOKEN

with content:

[ 96, [ 1, 2, 3 ], [ 1.0, 2.0, 3.0 ] ]