Home   Help Search Login Register  

Author Topic: Please Assist: Deployment Script  (Read 1626 times)

0 Members and 1 Guest are viewing this topic.

m21man

  • Guest
Please Assist: Deployment Script
« on: 23 Jul 2003, 04:47:15 »
I can't get this bloody script to work >:(. I need it for a mission. It works good for the first few times, then it starts adding "Redeploy"s when I don't need them. Please help :'(. Oh, and this mission needs the 1.75+ M60 machinegun pack from Tales of War (http://www.ofp.info/talesofwar/). It's worth it if ya don't have it.

The Script itself requires a man named "mgunr", a machinegun named "mgun", and an object in a safe place called "safeobj".
« Last Edit: 23 Jul 2003, 04:57:55 by m21man »

deaddog

  • Guest
Re:Please Assist: Deployment Script
« Reply #1 on: 23 Jul 2003, 05:43:40 »
mgunr removeaction 1

You can't use a fixed number with the removeaction command.  Every time the addaction command is used, it returns a new ID number.  Try this instead:

actionid=mgunr addaction blahblah

and then later,

mgunr removeaction actionid.

Use a different variable name for each addaction if you use more than one.

m21man

  • Guest
Re:Please Assist: Deployment Script
« Reply #2 on: 23 Jul 2003, 07:52:54 »
Thanks for the help :). I got the script to work (Finally!) 8).
« Last Edit: 23 Jul 2003, 07:54:18 by m21man »