OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Arkon 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
-
are you making a campaing ? or simply two seperate missions ? ...
-
Hi,
2 seperate missions, but i do need to carry over variables and some units/groups/waypoints/triggers etc.
Arkon
-
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 (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=s#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.
-
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
-
...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.
-
Thanks alot D_P_
I'll take a look at em :)
Arkon