![]() |
#6
|
|||
|
|||
![]() Quote:
Code:
public override void OnTrigger(int missionNumber, string shortName, bool active) { //call base classes OnTrigger method. base.OnTrigger(missionNumber, shortName, active); //if the trigger that was called is the trigger that we're looking for if (shortName.Equals("PlayerCloseBy") && active) { GamePlay.gpPostMissionLoad("missions/Multi/Dogfight/mymission/train.mis"); // start the train mission GamePlay.gpHUDLogCenter("Train just spawned"); // tell train spawned GamePlay.gpGetTrigger(shortName).Enable = false; // turn trigger off } }
__________________
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 Last edited by salmo; 12-16-2011 at 07:00 AM. |
|
|