Difference between revisions of "createSimpleObject"

From Bohemia Interactive Community
Jump to navigation Jump to search
(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...")
 
m
Line 7: Line 7:
 
|p2= position: [[Position]] - Where the shape will be created |= Parameter 2
 
|p2= position: [[Position]] - Where the shape will be created |= Parameter 2
 
| [[Object]] - Created object |= RETURNVALUE  
 
| [[Object]] - Created object |= RETURNVALUE  
|x1= <code><code>decorativeTank = createSimpleObject ["\a3\armor_f_beta\apc_tracked_01\apc_tracked_01_rcws_f.p3d", position player];
+
|x1= <code>decorativeTank = createSimpleObject ["\a3\armor_f_beta\apc_tracked_01\apc_tracked_01_rcws_f.p3d", position player];
 
</code>|= EXAMPLE1  
 
</code>|= EXAMPLE1  
 
| [[hideSelection]], [[selectionNames]] |= SEEALSO  
 
| [[hideSelection]], [[selectionNames]] |= SEEALSO  

Revision as of 13:32, 8 April 2016

Introduced with Arma 3 version 1.58
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.58

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.

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

Multiplayer:
-
See also:
hideSelectionselectionNames

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Bottom Section

Notes

Bottom Section