VN_ms_fnc_cacheLayer

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): global
Execution: Server only

Description

Toggle caching (disabling simulation) of editor layer.

Syntax

Syntax
[layerName, cached] call VN_ms_fnc_cacheLayer
Parameters
layerName: String - layer name
cached: Boolean - (Optional, default true) caching state
Return value
Boolean - function's success

Examples

Example 1
["myEditorLayer", false] call VN_ms_fnc_cacheLayer;