Arma 3 Scripting

Function in Object Manipulation

BIS_fnc_simpleObjectData

Also available as Markdown and JSON, or read the original wiki page.

Description

Get complete data needed for simple object creation.

Syntax

[classname] call BIS_fnc_simpleObjectData

Parameters:

Returns: Array in format [class, model, reversed, verticalOffset, animationAdjustments, selectionsToHide, verticalOffsetWorld, textures, randomizeAnims, randomizeTexs]:

Note

Return values can directly be used with BIS_fnc_adjustSimpleObject.

Examples

Example 1

["B_Boat_Armed_01_minigun_F"] call BIS_fnc_simpleObjectData;
/*
    [
        "B_Boat_Armed_01_minigun_F",
        "A3\Boat_F\Boat_Armed_01\Boat_Armed_01_minigun_F.p3d",
        1,
        3.323,
        [
            ["damagehide", 0],
            ["turret_shake", 0],
            ["turret_shake_aside", 0],
            ["magazine_hide", 0],
            ["mainturret", 0],
            ["damagehideotocvez", 0],
            ["maingun", 0.09],
            ["damagehideotochlaven", 0],
            ["rearturret", -3.16],
            ["reargun", 0.09],
            ["muzzleflash", 0],
            ["zaslehrot", 79],
            ["zasleh2rot", 600],
            ["fuel", 1],
            ["mph", 0],
            ["rpm", 0],
            ["amps_random", 0],
            ["oil_random", 0],
            ["trim_random", 0],
            ["tmp_random", 0],
            ["volt_random", 0],
            ["drivingwheel", 0],
            ["ammobelt_hide", 0],
            ["bullet001_2_hide", 0.33],
            ["bullet002_2_hide", 0.33],
            ["bullet003_2_hide", 0.33],
            ["bullet004_2_hide", 0.33],
            ["bullet005_2_hide", 0.33],
            ["bullet006_2_hide", 0.33],
            ["positionlights", 0],
            ["gun_revolving", 0.33],
            ["muzzleflash2", 0],
            ["reargunner", 0.09]
        ],
        ["zasleh", "p svetlo", "zadni svetlo", "brzdove svetlo", "clan", "podsvit pristroju", "poskozeni"],
        -0.148,
        [
            "\A3\boat_f\Boat_Armed_01\data\Boat_Armed_01_ext_co.paa",
            "\A3\boat_f\Boat_Armed_01\data\Boat_Armed_01_int_co.paa",
            "\A3\boat_f\Boat_Armed_01\data\Boat_Armed_01_crows_blufor_co.paa"
        ],
        false,
        false
    ]
*/

Example 2

[BIS_boat] call BIS_fnc_simpleObjectData;

See also

createSimpleObject · BIS_fnc_adjustSimpleObject · BIS_fnc_createSimpleObject