Tile - YTerrainVolume - Apply Volume – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Apply Volume(Terrain Volume, Mode, On success, On failure)

YlandsTile-963.png

applyVolume(applyMode: YTerrainStampingMode, onSuccess: () => void, onFailure: (failReason: YTerrainStampError) => void): void;

Parameters

applyMode

onSuccess

onFailure

Availability

Server

Description

Instructs the target Terrain volume Game Logic to either add or remove the terrain of selected material in it's shape boundaries.

Notes

  • Calls further instructions on success or failure.