{"name":"BIS_fnc_carrier01EdenInit","title":"BIS fnc carrier01EdenInit","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_carrier01EdenInit","revid":379551,"updated":"2026-10-31T13:46:13Z","groups":["Aircraft Carrier"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Assembles a dynamic aircraft carrier in Eden Editor.\nThe function reads the carrier base's `multiStructureParts` config array (pairs of part class name and memory point name), creates each part with createVehicle, aligns it with the base, places it at the base's memory point, disables its damage and stores the list of parts as `[[part, memoryPoint], ...]` in the base's public variable `\"bis_carrierParts\"`.\nParts are only created where isServer is true. Parts created by an earlier call are not deleted.\n\nThis is the assembly part of BIS_fnc_carrier01Init without the catapult action setup. It is meant for internal use: it is called from the carrier base's `RegisteredToWorld3DEN` and `AttributesChanged3DEN` Eden event handlers.","syntaxes":[{"syntax":"carrier call BIS_fnc_carrier01EdenInit","params":[{"name":"carrier","type":"Object","description":"the carrier base object (the object whose config holds `multiStructureParts`)","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"text":"Carrier base config (event handlers as given in the function's header):\n\n```cpp\nclass EventHandlers\n{\n    init = \"_this call BIS_fnc_carrier01Init\";\n    AttributesChanged3DEN = \"_this call BIS_fnc_carrier01EdenInit\";\n    Dragged3DEN = \"_this call BIS_fnc_carrier01PosUpdate\";\n    RegisteredToWorld3DEN = \"_this call BIS_fnc_carrier01EdenInit\";\n    UnregisteredFromWorld3DEN = \"_this call BIS_fnc_carrier01EdenDelete\";\n};\n```"}],"see_also":["BIS_fnc_carrier01Init","BIS_fnc_carrier01EdenDelete","BIS_fnc_carrier01PosUpdate","BIS_fnc_destroyer01EdenInit"]}