Arma 3 Scripting

BIN_fnc_addObjectsToArea

  • Arma 3 v1.94

Function · Markdown · JSON · original wiki page

Description

Adds given array of objects to area, ovewriting previous objects data stored for the area in extension

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

[param0, param1] call BIN_fnc_addObjectsToArea

Parameters:

Returns: NUMBER - number of objects added

Examples

Example 1

["myArea", [obj1,ob2,...]]  call BIN_fnc_addObjectsToArea

Function header

The comment at the top of the function's file in the game; this page's params, syntax, returns, examples, description come from it.

/*
    Killzone_Kid

Description:
    Adds given array of objects to area, ovewriting previous objects data stored for the area in extension

Parameter(s):
    0: STRING - area name
    1: ARRAY - array of objects to add

Returns:
    NUMBER - number of objects added

Example:
    ["myArea", [obj1,ob2,...]]  call BIN_fnc_addObjectsToArea
*/