View Single Post
  #4  
Old 09-14-2012, 06:43 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Quote:
Originally Posted by WhiskeyBravo View Post
Hi all,

I have almost zero knowledge of C# scripting but by examining the various examples found around these parts I've been able to analyse them and reverse engineer them somewhat to use them in my missions.

One thing I would like to do is to take parts from different scripts and merge them into a single script. However, my knowledge of the syntax in non-existent.

Can anybody give a brief outline on how to merge two or more scripts please?

And a big thanks to those out there who produce scripts for us, especially the ones who provide well commented code. It can make all the difference for noobs like me.

Thanks again for any help.

WB.
Your question raises an issue that I have canvased previously. There is no easy method to use self-contained scripts to perform specific tasks as components of a main mission. Calling different scripts on the fly from your mission using the GamePlay.gpLoadSectionFile or GamePlay.gpPostMissionLoad commands without having to merge different scripts into one main script. You should be able to build script library to perform specific tasks, & then be able to call those scripts from your mission.
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote