This script here works, when you start the CS this plays with a music showing team logo.
Now I need to add the wakeup script, for where we stand now you just spawn in the map with no wakeup obvioussly, I find it hard to wrap it up with the wake up script because im a noob and use the noob friendly timers usually but this tutorial did it like this.
Now i need to make this code below to work right after this script above. How can I do this, I am a noob with this - everything has been going smooth until this else if and if timing came up.
void wakeUp () { FadeOut(0); // Instantly fades the screen out. (Good for starting the game) FadeIn(20); // Amount of seconds the fade in takes FadeImageTrailTo(2, 2); FadeSepiaColorTo(100, 4); SetPlayerActive(false); FadePlayerRollTo(50, 220, 220); // "Tilts" the players head FadeRadialBlurTo(0.15, 2); SetPlayerCrouching(true); // Simulates being on the ground AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last }
Probably the simplest way is to add another timer to the above code, with the float number that determines when it happens after you have added the TimerIntroOutro timer in that first bit of code.
Try putting this one line below the TimerIntroOutro timer:
If you need to adjust when the timer occurs, change the 6 in the first code there. If this does not work fully, I apologise. Haven't scripted for quite a while :p
Discord: Romulator#0001
(This post was last modified: 10-02-2013, 02:56 AM by Romulator.)
void wakeUp () { FadeOut(0); // Instantly fades the screen out. (Good for starting the game) FadeIn(20); // Amount of seconds the fade in takes FadeImageTrailTo(2, 2); FadeSepiaColorTo(100, 4); SetPlayerActive(false); FadePlayerRollTo(50, 220, 220); // "Tilts" the players head FadeRadialBlurTo(0.15, 2); SetPlayerCrouching(true); // Simulates being on the ground AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last }
Hey, justanotherplayer - you ended up with the same result as i did. The wake up sequence is in motion when the intro is being played so it looks like this now.
Edit: yeap will try what rom said!
(This post was last modified: 10-02-2013, 05:51 PM by Hauken.)
I combined what you two said and its working now, now the fading and all that is a issue but I can already adjust that so I'll tweak it and see what happens.