Home   Help Search Login Register  

Author Topic: Transfer of Units  (Read 743 times)

0 Members and 1 Guest are viewing this topic.

brynn24865

  • Guest
Transfer of Units
« on: 30 Jan 2003, 14:55:58 »
I read somewhere than in Resistance, you can carry over units from 1 mission to the next? How is this done in script and does it work for multiplayer campaigns?

Silver Fox

  • Guest
Re:Transfer of Units
« Reply #1 on: 30 Jan 2003, 19:25:46 »
Take a look in the ed depot! There are some "Campaign Description.ext" Tutes that you may find usefull

Good Luck  ;D

brynn24865

  • Guest
Re:Transfer of Units
« Reply #2 on: 30 Jan 2003, 23:47:05 »
I have looked and so far they all just tell how to link missions together. They are all for pre-resistance editing. None of them mention how to keep units from one mission to the next.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Transfer of Units
« Reply #3 on: 31 Jan 2003, 08:44:16 »
I know nothing about this but meybe you will find something out from the official command reference. It has heaps of commands used in campaings and their explinations.
Not all is lost.

Offline Ottie

  • Members
  • *
  • And you think this is personal
Re:Transfer of Units
« Reply #4 on: 31 Jan 2003, 13:12:22 »
there is a good tutorial from vektorbosen (I think) and is something with weapon pool, you can find it in the editor depot
If you can't beat them, buy them

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Transfer of Units
« Reply #5 on: 31 Jan 2003, 20:50:48 »
well...this is just me, but there's this command, saveVar which saves a variable to work in all future campaign missions, works as so:

saveVar "variableName"

so, I suppose you could have a variable for the soldiers, like "jimmybobdead", and then do the old variable thing. And in the next mission you'd work with these variables when creating your team (for instance in the "condition of presence" space)

Right, just my suggestion. G'lucl (y)

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"