BIS fnc removeDestroyedCuratorEditableObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:
|s1= [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")


|r1= [[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 15: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