[Closed] EXIT Script type

Moderator: Developers

EXIT Script type

Postby Collegia Titanica » Wed Oct 24, 2018 11:10 am

A script type that triggers whenever a map ends, regardless of what way it ends. This happens before the default intermission screen.
[UNLOADING doesn't work]

Usage:

A very easy and convenient way of creating custom intermissions in a mod that can overwrite/skip the default ones regardless of what wad is being played.

Imagine this: A variable in an ENTER script logs the name of the nextmap which is set up via the PRINTNAME_NEXTLEVEL

Map xx ends and the Exit script Always changes map to INTERMAP (defined in mod) in which very relevant custom stats and images can be displayed while freezing the player and disabling the hud.
After that, the intermission map changes to the map in the variable above, effectively bypassing the default intermission.
Collegia Titanica
 
Joined: 25 Jan 2018
Discord: 2834

Re: EXIT Script type

Postby Graf Zahl » Wed Oct 24, 2018 11:15 am

I don't really think that ACS is the right tool for such stuff...
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: EXIT Script type

Postby Collegia Titanica » Wed Oct 24, 2018 11:29 am

I'm just going with what I know, acs is usually used for level stuff so it seems fitting.And I figured implementing what I wrote above should be simple.

If not that, then how would this be done in Z ? Suppose I somehow Scriptcall the value from the ACS variable above, move it to some zscript class, some EventHandler and then ... ?

If I can get this to work, I can easily make a great intermission for a popular mod, I really want to get this working somehow :/
Collegia Titanica
 
Joined: 25 Jan 2018
Discord: 2834

Re: EXIT Script type

Postby Graf Zahl » Wed Oct 24, 2018 12:10 pm

If you cannot do what you need in an UNLOADING script, any other type won't help you either. Because that gets called when the map exits.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest