createSimpleObject

From Bohemia Interactive Community
Revision as of 11:13, 8 April 2016 by Tom 48 97 (talk | contribs) (Created page with "{{Command|= Comments |arma3|= Game name |1.58|= Game version | Creates object with given shape. The given object will not be simulated (no PhysX, sound nor an interesting targ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Creates object with given shape. The given object will not be simulated (no PhysX, sound nor an interesting target for AI) allowing the placement of decorative objects with a very little network traffic.
Groups:
Uncategorised

Syntax

Syntax:
createSimpleObject [shapeName, position];
Parameters:
shapeName: String - Path to the 3d model
position: Position - Where the shape will be created
Return Value:
Object - Created object

Examples

Example 1:
decorativeTank = createSimpleObject ["\a3\armor_f_beta\apc_tracked_01\apc_tracked_01_rcws_f.p3d", position player];

Additional Information

See also:
hideSelectionselectionNames

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Bottom Section

Notes

Bottom Section