deleteVehicle

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Operation Flashpoint version 1.34Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.34

Description

Description:
Deletes an object.
Only units inserted in the mission editor and units created during the game's progress can be deleted by this command. Island objects and player units cannot be removed.
Deleting a vehicle, which is still being accessed by a running script, can result in a CTD.

Syntax

Syntax:
deleteVehicle object
Parameters:
object: Object
Return Value:
Nothing

Examples

Example 1:
deleteVehicle _house1

Additional Information

Multiplayer:
A deleted player unit will stay visible until that player has disconnected.
See also:
createUnit, createUnit array, createVehicle array, createVehicleLocal, createVehicle

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Google Ads