setVehicleId: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Add warning about not using it)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets ID 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.
 
{{Warning | This command is '''not''' to be used.}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 25: Line 27:


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


Line 37: Line 38:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETVEHICLEID]]
[[Category:Scripting Commands OFP Elite|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP Elite |SETVEHICLEID]]
[[Category:Scripting Commands Armed Assault|SETVEHICLEID]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 22:17, 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.
This command is not to be used.
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