canuckbrian 63 Report post Posted October 6, 2016 I'm not sure where to post this, so I'm posting it here. Right now Exile has the player corpse and the vehicle wreck cleanup on the same timer setting. This is annoying for a couple of reasons. Players want a chance to get back to their bodies, so setting this to 15 minutes gives players a chance at least. Server owners want wrecked vehicles cleaned up quickly for performance reasons. When a player dies in the vehicle and the vehicle is destroyed their corpse is trapped inside. No way to pull it out. So it and the wrecked vehicle get deleted together. In PVP the attackers gain nothing by taking out a vehicle and it's occupants. As an admin I can delete the wreck. When this happens the corpses of any players inside are released from the wreck and are able to be looted. What I'd love to see is this. Separate the cleanup timers for corpses and wrecks so admins can choose how long each type sticks around for before it's cleaned up. I'd also like to see it that any player that dies while inside a vehicle is immediately ejected regardless of whether the vehicle is destroyed or not. This way any PVP attackers would at least get some rewards for their kill in the form of the player's loot. Share this post Link to post Share on other sites
STONEY-DSP 22 Report post Posted October 6, 2016 (edited) rather get wrecked in vehicle with all that i got than some1 steals my corpse empty. Question; what would happen to you and everything you got on your person when your vehicle explodes and burns? Answer; NOTHING stays left. No pun Edited October 6, 2016 by STONEY-DSP Share this post Link to post Share on other sites
leonardos1978 33 Report post Posted June 18, 2017 But i want rework this script for return items from destroyed vehicle. I have this script, but his don't work getContainerItems = { private _return = []; { _name = _x select 0; _object = _x select 1; _mags = magazinesAmmo _object; _weaps = weaponsItems _object; _items = itemCargo _object; _containers = everyContainer _object; _containers = if (_containers isEqualTo []) then {[]} else {_containers call getContainerItems}; _return pushBack [_name,_mags,_items,_weaps,_containers]; } foreach _this; _return }; _veh = cursorObject; _top_mags = magazinesAmmoCargo _veh; _top_weaps = weaponsItemsCargo _veh; _top_items = itemCargo _veh; _top_containers = everyContainer _veh; _containers = if (_top_containers isEqualTo []) then {[]} else {_top_containers call getContainerItems}; return = [_top_mags,_top_items,_top_weaps,_top_containers]; Correct me please. Share this post Link to post Share on other sites
q-p 4 Report post Posted October 26, 2017 On 6/19/2017 at 1:48 AM, leonardos1978 said: But i want rework this script for return items from destroyed vehicle. I have this script, but his don't work getContainerItems = { private _return = []; { _name = _x select 0; _object = _x select 1; _mags = magazinesAmmo _object; _weaps = weaponsItems _object; _items = itemCargo _object; _containers = everyContainer _object; _containers = if (_containers isEqualTo []) then {[]} else {_containers call getContainerItems}; _return pushBack [_name,_mags,_items,_weaps,_containers]; } foreach _this; _return }; _veh = cursorObject; _top_mags = magazinesAmmoCargo _veh; _top_weaps = weaponsItemsCargo _veh; _top_items = itemCargo _veh; _top_containers = everyContainer _veh; _containers = if (_top_containers isEqualTo []) then {[]} else {_top_containers call getContainerItems}; return = [_top_mags,_top_items,_top_weaps,_top_containers]; Correct me please. Did you make this work? I'd love to see something like this. I don't know how to write my own, wouldn't know where to start, but I noticed that when you unpack a safe, the items within are dropped to the ground. So maybe find that code there and see if it could be adjusted to drop content from vehicle? Share this post Link to post Share on other sites
leonardos1978 33 Report post Posted October 27, 2017 No I didn't, it's not my work. Share this post Link to post Share on other sites