OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Ken on 16 Jan 2008, 00:29:25

Title: FFUR/SLX drag script
Post by: Ken on 16 Jan 2008, 00:29:25
 ??? I'm trying to make a mission for OFP using the FFUR/SLX Mod, and would really like to be able to make a couple of resistance units drag some dead east units into cover so they can hide there bodies. But I'm only new to this stuff, and I'm a bit out of my league on this one.''

Could someone please help me.  :D
Title: Re: FFUR/SLX drag script
Post by: Mostly on 13 Feb 2008, 22:21:26
I've managed to solve part of your problem.

To get a unit to grab hold of a dead unit you need to use the following line:
Code: [Select]
[deadunitname, draggingunitname] exec (slx_wounds_path+{drag.sqs})
However, once that is done I can't manage to get the units to move anywhere!! I've tried waypoints and "domove" commands.

I'm quite new to scripting too but I bet that there is another command to get them to move. I found the drag.sqs in the following location -
@ffur2007 \ addons \ SLX_wounds

There are loads of scripts hidden in that file, I'll bet your answer is somewhere in there!

EDIT.  Not sure about this, but you'd probably have more replies to this if it was posted on the scripting board???