Jump to content

Recommended Posts

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

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

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

 

  • Like 1

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×