Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
end credits
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: end credits

I haven't used the StartDemoEnd(); myself, so I don't really know how they work together, but yes, otherwise that should be correct.

There is another detail though. I noticed that if you run the credits script in OnLeave, it will instantly go black and start it if you click a level door. If you'd rather have it fade to black before running the credits, you can add a timer with 0.01 in time and set the level door to load the same map you're currently in. What will happen is that there will be no loading screen when you click it (because the level is already loaded) and the credits will run as soon as the fade out is done (because timers freeze during level transitions).

(This post was last modified: 01-01-2015, 06:38 AM by Mudbill.)
01-01-2015, 06:37 AM
Find


Messages In This Thread
end credits - by G510s - 01-01-2015, 01:19 AM
RE: end credits - by Mudbill - 01-01-2015, 06:06 AM
RE: end credits - by G510s - 01-01-2015, 06:32 AM
RE: end credits - by Mudbill - 01-01-2015, 06:37 AM



Users browsing this thread: 1 Guest(s)