![]() |
#1
|
|||
|
|||
![]()
Having got the hang of basic scripting, I'm now up to incorporating several different scripts into one mission. Spawn sub-mission; ambulance/fuel truck at airfields, despawn AI's after landing. These script have calls in common to some methods, especially the ontickgame method. To do this, I need to copy out only the relevant code for that method & paste into the method section of the master script (which is a PITA. here's my idea for further enhancedment:
1. Have a directory dialog in the script window of the mission brief. 2. Allow scripts to picked from the dialog & 'automatically' loaded into the script window, 3. on auto-pasting a script, have an in-built algorithm that will ... a. remove multiple calls to the same core component b. parse out script text for each method & paste into any existing method text section
__________________
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 |
|
|