Home   Help Search Login Register  

Author Topic: Splitting a mission into two parts  (Read 1780 times)

0 Members and 1 Guest are viewing this topic.

Offline Arkon

  • Members
  • *
Splitting a mission into two parts
« on: 29 Mar 2007, 15:00:20 »


Hi,

Think I done this before with Flashpoint somehow...

My mission is too large (144 units/groups) and i need to split it into 2 parts carrying over the variables
to part two. The map is the key, as its a north south split with the south featuring in part one and the north
in part two.
Some Waypoints/Triggers will be needed for both parts as will some units/groups but most of the south part will be deleted after part one.

Perhaps this is how a campaign is done but i do not know.

Any help appreciated.

Arkon

Offline sharkattack

  • Former Staff
  • ****
Re: Splitting a mission into two parts
« Reply #1 on: 29 Mar 2007, 19:46:14 »
are you making a campaing ? or simply two seperate missions ? ...
"HOLY SARDINE" - see Shark-Attack meet his match

Offline Arkon

  • Members
  • *
Re: Splitting a mission into two parts
« Reply #2 on: 29 Mar 2007, 20:40:49 »
Hi,

2 seperate missions, but i do need to carry over variables and some units/groups/waypoints/triggers etc.

Arkon

Offline Cheetah

  • Former Staff
  • ****
Re: Splitting a mission into two parts
« Reply #3 on: 30 Mar 2007, 00:17:33 »
For it to work, you have to use a campaign structure as as far as I know, you can only store variables in a campaign, not between single missions. The command to do all the work for you, saveVar.

I assume that you haven't played the OFP: Resistance campaign as there was a lot of variable saving (mainly weapons though) involved. I'm not sure how exactly things can be saved, probably by using saveVar at the end of a mission, or near the end and then using the variable in the next campaign mission(s). Should work, if not reply and I'll look deeper into it.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Arkon

  • Members
  • *
Re: Splitting a mission into two parts
« Reply #4 on: 30 Mar 2007, 00:39:31 »

Hi Cheetah,

And thanks for your reply....

This is on the right track i believe but, "savevar" looks to have a pretty limited scope as I need to save loads of different stuff
like units/groups/waypoints/triggers etc... whilst swapping one populated map for another!!

One would have thought that Campaign's would be the perfect vehicle for this kind of thing but I have no expierence
with them.

So any help would be great

Thanks

Arkon


Offline D_P_

  • Members
  • *
  • YAY! I'm a lama again! ...oh wait.
    • ArmaAddons
Re: Splitting a mission into two parts
« Reply #5 on: 30 Mar 2007, 04:07:58 »

...I found this crap up in the attic, maybe it'll be useful to you?  :dunno:


edit hoz:
Attachments removed, all files are in the ED search for campaign.
« Last Edit: 20 Aug 2009, 16:45:34 by hoz »
just setpos & forgetpos!

Offline Arkon

  • Members
  • *
Re: Splitting a mission into two parts
« Reply #6 on: 30 Mar 2007, 14:25:12 »


Thanks alot D_P_

I'll take a look at em  :)

Arkon