{"name":"BIN_fnc_addSiteEntities","operator":null,"title":"BIN fnc addSiteEntities","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_addSiteEntities","revid":363741,"updated":"2024-04-17T15:24:34Z","groups":["Contact"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.94"}],"since":{"game":"arma3","name":"Arma 3","version":"1.94"},"arma3_since":"1.94","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Register entities to a site, so they can be despawned with the rest when player leaves the area.\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0, param1] call BIN_fnc_addSiteEntities","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"Object","types":["Object"],"optional":false,"default":null,"description":"site logic. The site must be spawned for the function to work.","since":null,"text":"0: OBJECT - site logic. The site must be spawned for the function to work.","source":"docblock"},{"name":"param1","type":"Array","types":["Array"],"optional":false,"default":null,"description":"entities to be added. Types can be mixed, the system will sort them out itself.","since":null,"text":"1: ARRAY - entities to be added. Types can be mixed, the system will sort them out itself.","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"BOOL - true if added","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Contact","Functions","Introduced with Arma 3 version 1.94"],"docblock":{"author":null,"description":"Register entities to a site, so they can be despawned with the rest when player leaves the area.","params":[{"index":0,"name":null,"types":["Object"],"optional":false,"default":null,"description":"site logic. The site must be spawned for the function to work.","text":"OBJECT - site logic. The site must be spawned for the function to work."},{"index":1,"name":null,"types":["Array"],"optional":false,"default":null,"description":"entities to be added. Types can be mixed, the system will sort them out itself.","text":"ARRAY - entities to be added. Types can be mixed, the system will sort them out itself."}],"returns":{"types":["Boolean"],"text":"BOOL - true if added"},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\n    Register entities to a site, so they can be despawned with the rest when player leaves the area.\n\nParameter(s):\n    0: OBJECT - site logic. The site must be spawned for the function to work.\n    1: ARRAY - entities to be added. Types can be mixed, the system will sort them out itself.\n\nReturns:\n    BOOL - true if added"},"filled_from_docblock":["params","syntax","returns","description"]}