setVehicleId: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets id (integer value) to vehicle. By this id vehicle is referenced by triggers and waypoints. |DESCRIPTION=
| Sets ID to vehicle. By this ID vehicle is referenced by triggers and waypoints. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>player setVehicleId 1</pre> |EXAMPLE1=
|x1= <code>[[player]] [[setVehicleId]] 1</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |SEEALSO=
| [[setVehicleVarName]] |SEEALSO=


}}
}}

Revision as of 20:26, 25 September 2020

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets ID to vehicle. By this ID vehicle is referenced by triggers and waypoints.
Groups:
Object Manipulation

Syntax

Syntax:
vehicleName setVehicleId id
Parameters:
vehicleName: Object
id: Number
Return Value:
Nothing

Examples

Example 1:
player setVehicleId 1

Additional Information

See also:
setVehicleVarName

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

Notes

Bottom Section