I made a very simple mission to test the scripted version of setting a WinchLoad waypoint following the Wiki.
This is what I put into the init field of my chopper:
Everything works as expected except for one thing: The loadCode part (e.g. {hint "Dude saved"}) is executed as soon as I select the "Deploy rope" action whereas the Wiki says this should only execute when a person is loaded into the helicopter.PHP Code:nul = [this, victim, 0, 50, 1, nil, {hint "Rescuer died!"}, {hint "Dude saved"}] spawn BIS_fnc_wpWinchLoad;
Am I missing something here?
My goal is to use the loadCode in order to move the victim and rescuer back into cargo positions. If this can be done otherwise/easier I'm all ears
Any input is appreciated.
HOME 
Reply With Quote




