Graviteam
May 07, 2024, 03:05:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Time Limit in new mission  (Read 4189 times)
0 Members and 1 Guest are viewing this topic.
KurtTank
Major
****
Posts: 64


« on: September 27, 2011, 07:53:47 PM »

I made my first mission in the ME last night and had a lot of fun with it......however, when does the mission end? Is there a way to make a time limit on it?

The mission is a free-for-all with no scripts, goals or anything, just shooting.......after I've killed all the enemy, the game never ends......so I never see the stats. Does it have to have scripts to end?
Logged
Kyth
Generalfeldmarschall
*****
Posts: 2044


« Reply #1 on: September 27, 2011, 11:42:36 PM »

Yes.

Or you could force a conclusion by aborting the mission, but that's just not the same,  Smiley
Logged

"What am I, chopped liver..?"

"Yes."
Iceman
Graviteam
Oberstleutnant
******
Posts: 141


*Graviteam* (Assistant Deputy Backup Courier)


« Reply #2 on: September 29, 2011, 10:25:12 AM »

I made my first mission in the ME last night and had a lot of fun with it......however, when does the mission end? Is there a way to make a time limit on it?

The mission is a free-for-all with no scripts, goals or anything, just shooting.......after I've killed all the enemy, the game never ends......so I never see the stats. Does it have to have scripts to end?

Quick check of conditions victory/defeat for the mission in style "kill'em all".
Add into your mission *_scripts.engscr file -> section triggers() next strings:

for German mission side
Code:
triggers()
{
fail, 0x10, 1, 2.000, 3.000;
fail, 0x8;
fail, 0xb, fail_ger, 5.000, 0;

victory, 0x10, 2, 4.000, 3.000;
victory, 0xa;
victory, 0xb, fail_rus, 5.000, 0;
}

for Russian mission side
Code:
triggers()
{
fail, 0x20010, 2, 2.000, 3.000;
fail, 0x8;
fail, 0xb, fail_rus, 5.000, 0;

victory, 0x20010, 1, 4.000, 3.000;
victory, 0xa;
victory, 0xb, victory_rus, 5.000, 0;
}

Logged

дополнительный Помощник младшего Заместителя вспомогательного Курьера
KurtTank
Major
****
Posts: 64


« Reply #3 on: September 29, 2011, 10:18:48 PM »

Thanks, Iceman!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!