Custom campaigns - Map intro is aborted after 20 seconds

Discuss everything related to custom data creation.

Moderator: NADEO

Post Reply
User avatar
maxi031
Posts: 367
Joined: 17 Jul 2011, 00:55

Custom campaigns - Map intro is aborted after 20 seconds

Post by maxi031 » 10 Jan 2015, 21:33

Here is part of the script where intro is played:

Code: Select all

foreach (Player in AllPlayers) 
{
   declare UI <=> UIManager.GetUI(Player);
   if (UI == Null) continue;
   Player.RaceStartTime = Now+600000;
   UI.ForceSpectator = False;						
   UIManager.UIAll.UISequence_CanSkipIntroMT = False;
   UI.UISequence = CUIConfig::EUISequence::Intro;
   wait(UI.UISequenceIsCompleted);
   UI.UISequence = CUIConfig::EUISequence::Playing;
   wait(UI.UISequenceIsCompleted);
   if (Players.exists(Player)) 
   Player.RaceStartTime = Now+3500;
}
It plays for around 20 seconds than it's aborted and race starts.
Is there any way i can force whole intro to be played?
My specs:
MOBO: MB AM3+ 970 Gigabyte GA-970A-DS3P
CPU: AM3+ AMD FX-8320E
GPU: Nvidia GeForce GTX750-Ti ASUS 2GB DDR5
RAM: DDR3 8GB 1866MHz Kingston HyperX
SSD: SATA3 120gb SanDisk
OS: Windows 7 Profesional SP1 64-bit OS
TY MICMO

Post Reply

Return to “Title Pack & Custom Data Creation”

Who is online

Users browsing this forum: No registered users and 0 guests