Home   Help Search Login Register  

Author Topic: FFUR/SLX drag script  (Read 2220 times)

0 Members and 1 Guest are viewing this topic.

Offline Ken

  • Members
  • *
FFUR/SLX drag script
« 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

Offline Mostly

  • Members
  • *
Re: FFUR/SLX drag script
« Reply #1 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???
« Last Edit: 13 Feb 2008, 22:24:02 by Mostly »
They mostly come out at night. Mostly!