{"name":"BIS_fnc_destroyer01PosUpdate","title":"BIS fnc destroyer01PosUpdate","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_destroyer01PosUpdate","revid":379559,"updated":"2026-10-31T13:50:34Z","groups":["Destroyer"],"status":"ok","games":{"arma3":"1.84"},"since":"arma3 1.84","arma3_since":"1.84","locality":{"effect":"global"},"description":"Moves all parts of a multi-part ship back onto their places after the ship's base object has been moved. For every part stored in the base's `\"bis_carrierParts\"` variable (see BIS_fnc_destroyer01Init), it applies the base's direction, pitch and bank and puts the part on its memory point of the base.\nThe function is called by the `Dragged3DEN` event handler of the ship's base class, so that the ship follows when it is dragged in the Eden Editor. It does nothing outside the server.","syntaxes":[{"syntax":"[ship] call BIS_fnc_destroyer01PosUpdate","params":[{"name":"ship","type":"Object","description":"the ship's base object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"text":"Event handler of the ship's base class:\n\n```cpp\nclass EventHandlers\n{\n    Dragged3DEN = \"_this call BIS_fnc_Destroyer01PosUpdate\";\n};\n```"}],"see_also":["BIS_fnc_destroyer01Init","BIS_fnc_destroyer01EdenInit","BIS_fnc_destroyer01EdenDelete","BIS_fnc_carrier01PosUpdate"]}