View Single Post
Old 09-27-2011, 03:58 PM   #19
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,465
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Code:
void main() 
{

   object oJerico = GetObjectByTag("n_jercor");
   object oSpeeder = GetObjectByTag("jerico_speeder");
   object oSound=GetObjectByTag("swoopidleloopj");
   
   SetGlobalFadeOut(0.5, 1.5);
   SoundObjectStop(oSound);
   DelayCommand(2.4, DestroyObject(oJerico));
   DelayCommand(2.4, DestroyObject(oSpeeder));
   SetGlobalFadeIn(3.0, 1.5));

}
I think the problem there is that you were trying to double delay something. It is like adding a dimmer and dimming a lightbulb that is already on another dimmer.... it will flicker and not work properly. Just a guess, but try the new version. I simply lengthened the delay that is built into SetGlobalFadeIn to the length of your delay command.


Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa
Qui-Gon Glenn is offline   you may: quote & reply,