BIS fnc removeDestroyedCuratorEditableObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{RV|type=function | arma3 |1.16 |gr1= Curator | " to "{{RV|type=function |game1= arma3 |version1= 1.16 |gr1= Curator |descr= ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.16
|version1= 1.16


Line 9: Line 8:
|descr= Make destroyed curator objects non-editable.
|descr= Make destroyed curator objects non-editable.


| [object, parentClasses] call [[BIS_fnc_removeDestroyedCuratorEditableObjects]]
|s1= [object, parentClasses] call [[BIS_fnc_removeDestroyedCuratorEditableObjects]]


|p1= object: [[Object]] - Curator module or objects to be removed after death
|p1= object: [[Object]] - curator module or objects to be removed after death


|p2= parentClasses: [[Array]] of [[String|strings]] - Parent classes of objects to be removed (e.g., "Man")
|p2= parentClasses: [[Array]] of [[String]]s - parent classes of objects to be removed (e.g., "Man")


| [[Boolean]]
|r1= [[Boolean]]


|x1= <code>[curatorModule, ["Man"]] [[call]] [[BIS_fnc_removeDestroyedCuratorEditableObjects]];</code>
|x1= <sqf>[curatorModule, ["Man"]] call BIS_fnc_removeDestroyedCuratorEditableObjects;</sqf>


|seealso= [[Arma 3: Curator]]
|seealso= [[Arma 3: Curator]]
}}
}}

Latest revision as of 16:45, 8 November 2023

Hover & click on the images for description

Description

Description:
Make destroyed curator objects non-editable.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[object, parentClasses] call BIS_fnc_removeDestroyedCuratorEditableObjects
Parameters:
object: Object - curator module or objects to be removed after death
parentClasses: Array of Strings - parent classes of objects to be removed (e.g., "Man")
Return Value:
Boolean

Examples

Example 1:
[curatorModule, ["Man"]] call BIS_fnc_removeDestroyedCuratorEditableObjects;

Additional Information

See also:
Arma 3: Curator

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note