BIS fnc removeDestroyedCuratorEditableObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:
|gr1= Curator
|gr1= Curator


|descr= Make destroyed curator objects non-editable.
|descr= Make destroyed curator objects non-editable.


|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