Tile - YTerrainVolume - Apply Volume – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:


==== onFailure ====
==== onFailure ====
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===
Line 26: Line 30:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

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.