sizeOf

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.08

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.08

Description

Description:
Return approximate size of the entity of given type (x-axis, in meters)
Object has to be present in current mission to be able to read a size (otherwise zero will be returned).

Syntax

Syntax:
Number = sizeOf "ObjectClassName"
Parameters:
ClassName: String
Return Value:
Number

Examples

Example 1:
_Xdimension=sizeOf "M1Abrams"
returns 10.7833

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes


Bottom Section

Personal tools
Buy ArmA now!