deleteVehicle – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
:Yes please upload the mission.
:Yes please upload the mission.
:--[[User:ViperMaul|ViperMaul]] 10:11, 9 August 2009 (CEST)
:--[[User:ViperMaul|ViperMaul]] 10:11, 9 August 2009 (CEST)
I found out the cause, by the way, just forgot about this post to update it. This seems to happen when you delete the vehicle without deleting the crew first. Not sure if it's still the case in 1.05, though, as it was a long time ago.
On another note, from the multiplayer side of things, it seems anyone can delete any vehicle regardless of locality. Can anyone confirm?

Revision as of 20:44, 27 March 2010

If you deleteVehicle a vehicle that has been tagged as a respawnVehicle, the game will crash when it tries to garbage collect the vehicle it thinks is still there. --Doolittle 01:50, 16 July 2007 (CEST)

I have been able to run the 'deleteVehicle' command on a vehicle marked as 'respawnable' without issue. This command has not caused any CTD's for me when deleting either the 'alive' or 'dead' version of the given vehicle. Please explain your methodology precisely. --Sy 03:38, 16 July 2007 (CEST)

Arma 2: Deleting a unit local to the server (only) on the server seems to cause inconsistencies with clients (testing on a hosted server). Sometimes the units will get deleted properly for everyone and sometimes a "ghost" would remain on the clients but not the server - that is, they will still appear in game and on the map (in "regular" difficulty) but not do anything, and bullets will go through them. Can anyone explain why this is happening and why the inconsistency? This only happened to me with a tank crew that was first spawning a script (via execVM), that deletes them if a certain condition is met, and then was ordered to moveInX and assaingX to the vehicle (where X is commander, gunner and driver for each of the crewmen). Can upload the mission that causes this if needed.

Yes please upload the mission.
--ViperMaul 10:11, 9 August 2009 (CEST)

I found out the cause, by the way, just forgot about this post to update it. This seems to happen when you delete the vehicle without deleting the crew first. Not sure if it's still the case in 1.05, though, as it was a long time ago.

On another note, from the multiplayer side of things, it seems anyone can delete any vehicle regardless of locality. Can anyone confirm?