Federick90 0 Posted October 2, 2018 Hi all I tried to implement this script that allows you to drag the bodies and put them in a vehicle but once implemented by entering the init string and inserting only the necessary file H8_dragBody.sqf I get no results! I state that I have to put it on an ALTIS LIFE 5.0 server http://www.armaholic.com/page.php?id=26578 Share this post Link to post Share on other sites
davidoss 550 Posted October 2, 2018 If you dealing with scripted mission (spawned units ingame) you need call this init line again after all units spawned Share this post Link to post Share on other sites
HazJ 1288 Posted October 3, 2018 I think what @davidoss is trying to say that some things are respawn compatible by default therefore you have to execute them again. You can use Respawn EH to easily accomplish this. player addEventHandler ["Respawn", { params ["_unit", "_corpse"]; // do stuff... }]; https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#Respawn That isn't the case here though. Quote - No action upon Respawn (fixed in v1.2) http://www.armaholic.com/page.php?id=26578 1 Share this post Link to post Share on other sites
Federick90 0 Posted October 3, 2018 In altis life I do not need to generate units but if a civilian (Player) dies can be dragged and loaded in the car, in fact I implemented only the H8_dragBody file in MPMission / Altis_life.mission and in the main init I pasted null = allUnits execVM "H8_dragBody .sqf "; to invoke the script but in the game not by any error but the script does not work where I'm wrong? In the H8_dragBody script I modified the original line with this _dragCond = "vehicle _this! = Vehicle _target and isNull attachedTo _target and count attachedObjects _this == 0 and _target distance _this <3 and! Alive _target"; Share this post Link to post Share on other sites