BIS fnc sceneAreaClearance: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - ">Posted on October ([0-9]{1})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-10-0$1") |
Lou Montana (talk | contribs) m (Text replacement - "(Optional, default {{hl|[]}})" to "(Optional, default <sqf inline>[]</sqf>)") |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
|p1= trigger: [[Object]] - trigger to use as center point | |p1= trigger: [[Object]] - trigger to use as center point | ||
|p2= objects: [[Array]] - (Optional, default []) list of objects that will be kept during cutscene | |p2= objects: [[Array]] - (Optional, default <sqf inline>[]</sqf>) list of objects that will be kept during cutscene | ||
|p3= destination: [[Array]] in format [[Position]] - (Optional, default [-5000, 10000, 0]) where to move all unwanted objects | |p3= destination: [[Array]] in format [[Position]] - (Optional, default [-5000, 10000, 0]) where to move all unwanted objects |
Latest revision as of 18:09, 8 November 2023
Description
- Description:
- Removes object clutter within a set trigger, for use within cutscenes.
- Execution:
- call
- Groups:
- Scenes
Syntax
- Syntax:
- [trigger, objects, destination] spawn BIS_fnc_sceneAreaClearance
- Parameters:
- trigger: Object - trigger to use as center point
- objects: Array - (Optional, default []) list of objects that will be kept during cutscene
- destination: Array in format Position - (Optional, default [-5000, 10000, 0]) where to move all unwanted objects
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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
- Posted on 2014-10-02 - 16:29 (UTC)
- Tryteyker-
- In regards to the 'safe position' where the objects get moved, this is how the function handles it (with default values present):