Running scripts get carried to the next map with changemap

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Running scripts get carried to the next map with changemap

Post by DoomerMrT »

That's right; it is noticable for example when a script freezes a player then using changemap to an another map and the player(s) remains frozen. Happens in multiplayer!
User avatar
solarsnowfall
Persecution Complex
Posts: 363
Joined: Fri Aug 05, 2005 8:51

Re: Running scripts get carried to the next map with changemap

Post by solarsnowfall »

Shouldn't this be posted over at the ZDoom forums?
User avatar
Bishop
Posts: 22
Joined: Mon May 04, 2009 13:40
Location: France

Re: Running scripts get carried to the next map with changemap

Post by Bishop »

why dont you just add this script to your next map? ...

Code: Select all

script 1 ENTER
{
    SetPlayerProperty(0, OFF, PROP_FROZEN) //removes "frozen" property if active
    SetPlayerProperty(0, OFF, PROP_TOTALLYFROZEN) //removes "totallyfrozen" property if active
}
That way all players will be un-frozen by default at the start of a new map. You can do that basically with any property you want
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Re: Running scripts get carried to the next map with changemap

Post by DoomerMrT »

Maybe a bugreport for Zdoom yes. Just headed immediately here because I noticed it in GZdoom.

@bishop: those lines won't solve the other scripts' effects that I haven't noticed yet. Anyway, that would be just a "sweep the problem under the carpet" solution.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Running scripts get carried to the next map with changemap

Post by Graf Zahl »

It's a well-known effect that player properties are carried over from one map to the next.
If this got changed there'd be a lot of maps that'd suddenly develop problems. Changemap just initiates a normal level transition.
Locked

Return to “Closed Bugs”