OK I have the following script:
_Injured=_This Select 0
_DragBy=Player
TEN_RESCUER = _DragBy
TEN_RESCUEE = _Injured
publicvariable "TEN_RESCUER"
publicvariable "TEN_RESCUEE"
~0.1
_dragvehicle = "TEN_DragVeh" createVehicle getPos _Injured
TEN_MAGICVEHICLE = _dragvehicle
publicvariable "TEN_MAGICVEHICLE"
~0.2
_Injured assignAsCargo _dragvehicle
_Injured moveInCargo _dragvehicle
_DragBy assignAsDriver _dragvehicle
_DragBy moveInDriver _dragvehicle
#check
? count crew vehicle _dragvehicle == 1 : goto "eject"
~1
? count crew vehicle _dragvehicle >= 2 : goto "check"
#eject
_Injured action ["eject", vehicle _Injured]
_DragBy action ["eject", vehicle _DragBy]
deleteVehicle _dragvehicle
exit
Works flawlessly in SP, its a dragging script that I want to implement in Safety's USMC Pack (Will be open source to anyone who wants to incorporate it into their infantry packs).
Problem is that I'm not experienced in MP scripting, altough I read all available tutorials on OFPEC about MP scripting, it's just not working.
Someone please assist on what am I doing wrong.