Difference between revisions of "VN ms fnc cacheLayer"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) (Page filling) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Wyqer, veteran29 |
− | | | + | |a= |
− | | | + | |e= global |
− | | | + | |n= server |
− | |||
− | |||
− | |||
− | |||
− | + | |g1= general | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |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;