Difference between revisions of "VN ms fnc cacheLayer"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{Function" to "Category:TODO {{Function") |
Lou Montana (talk | contribs) (Page filling) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 8: | Line 7: | ||
|a= | |a= | ||
− | |e= | + | |e= global |
+ | |||
+ | |n= server | ||
|g1= general | |g1= general | ||
− | |d= | + | |d= Toggle caching (disabling simulation) of editor layer. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |s= [layerName, cached] call [[VN_ms_fnc_cacheLayer]] |
− | |p1n= | + | |p1n= layerName |
− | |p1t= | + | |p1t= string |
− | |p1d= | + | |p1d= layer name |
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= cached |
− | |p2t= | + | |p2t= boolean |
− | |p2d= | + | |p2d= caching state |
− | |p2v= | + | |p2v= true |
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= function's success |
− | |x1= <code> | + | |x1= <code>["myEditorLayer", false] call [[VN_ms_fnc_cacheLayer]];</code> |
}} | }} |
Latest revision as of 18:05, 22 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
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;