View Single Post
Old 03-13-2017   #7
Sapheros
That guy that ports
 
Sapheros's Avatar
Default

Quote:
Originally Posted by Monster psychic cat View Post
Before the exit counter variable goes to zero, call the new level complete screen code, which forces the counter to freeze.

PHP Code:
if player.exiting == 10
   
[...]
   
intermission true
   
[...]
end

if intermission == true
   
[...]
   
player.exiting = $1    // this is decremented every frame. increment it to "freeze" it.
   
[...] 
As delighted as I would go out of my way to steal use the intermission script outside of the wad itself, it just seems kinda difficult to do without the script just refusing to work in general, this script is too amazing and sacred to lock inside of a special mod. May I suggest on it becoming it's own lua script on it's own either as it's own release or a separate file inside the .zip?
__________________
Hiyo all! Underground Website
Sapheros is offline   Reply With Quote