|
#1
|
|||
|
|||
Must say Kodiak these tutorials here and on forum.sturmovik.de are a great help
Is it possible to have more than 1 parameter effect the mission success hud message? i.e. a % of an air group destroyed plus complete a landing at home base both influence whether you see a Mission Success message........... Regards Punch. |
#2
|
|||
|
|||
something like that is possible- something very like that is used in the Redux campaign for the 'help in combat' mission
Code:
private void checkLanded(AiAircraft aircraft) { if (GamePlay.gpPlayer().Place() != aircraft) return; if (end != true) { Campaign.battleSuccess = false; GamePlay.gpHUDLogCenter("YOU FAILED! DISMISSED."); //STD Timeout(5.0, () => { ShowResult(true); }); // STD return; } if ((end = true) && (safe = true)) // check reached mission objective { Campaign.battleSuccess = true; writeScore(cPlayer + readScore()); // STD : increase campaign kills GamePlay.gpHUDLogCenter("GOOD SHOW! Less than 4 of 111Sqn shot down." ); Timeout(5.0, () => { ShowResult(true); });//STD Timeout(15.0, () => { GamePlay.gpHUDLogCenter("Your campaign kills : " + readScore()); });//STD } } A 'TGroup Destroyed ' trigger could make bool end = true to make it run? |
#3
|
|||
|
|||
Cheers m8 ................will try it
|
#4
|
|||
|
|||
Regarding "triggers" , I tried to create a spawn group of 8 110's triggered when a red air group passed through an area. This worked but every time the pass through was entered another 110 group was created, ended up with about 60 110's
Is this correct and if so is there any script to close the trigger once it has been triggered? Punch |
|
|