BIS_fnc_destroyer01PosUpdate
- Global effect
- Arma 3 v1.84
Function · Markdown · JSON · original wiki page
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.
The 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.
Syntax
[ship] call BIS_fnc_destroyer01PosUpdate
Parameters:
ship: Object - the ship's base object
Returns: Nothing
Examples
Example 1
Event handler of the ship's base class:
class EventHandlers
{
Dragged3DEN = "_this call BIS_fnc_Destroyer01PosUpdate";
};
See also
BIS_fnc_destroyer01Init · BIS_fnc_destroyer01EdenInit · BIS_fnc_destroyer01EdenDelete · BIS_fnc_carrier01PosUpdate