setVehicleId: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 9: Line 8:


|gr2= Broken Commands |GROUP2=
|gr2= Broken Commands |GROUP2=
____________________________________________________________________________________________


| Sets ID to vehicle. By this ID vehicle is referenced by triggers and waypoints.
| Sets ID to vehicle. By this ID vehicle is referenced by triggers and waypoints.


{{Warning | This command is '''not''' to be used.}} |DESCRIPTION=
{{Warning | This command is '''not''' to be used.}} |DESCRIPTION=
____________________________________________________________________________________________


| vehicleName '''setVehicleId''' id |SYNTAX=
| vehicleName '''setVehicleId''' id |SYNTAX=
Line 23: Line 20:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[player]] [[setVehicleId]] 1</code> |EXAMPLE1=
|x1= <code>[[player]] [[setVehicleId]] 1</code> |EXAMPLE1=
____________________________________________________________________________________________


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

Revision as of 04:52, 17 January 2021

Hover & click on the images for description

Description

Description:
Sets ID to vehicle. By this ID vehicle is referenced by triggers and waypoints.
This command is not to be used.
Groups:
Object ManipulationBroken Commands

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