Running scripts get carried to the next map with changemap
Moderator: Graf Zahl
-
- Posts: 91
- Joined: Thu Aug 09, 2007 19:07
Running scripts get carried to the next map with changemap
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!
- solarsnowfall
- Persecution Complex
- Posts: 363
- Joined: Fri Aug 05, 2005 8:51
Re: Running scripts get carried to the next map with changemap
Shouldn't this be posted over at the ZDoom forums?
- Bishop
- Posts: 22
- Joined: Mon May 04, 2009 13:40
- Location: France
Re: Running scripts get carried to the next map with changemap
why dont you just add this script to your next map? ...
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
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
}
-
- Posts: 91
- Joined: Thu Aug 09, 2007 19:07
Re: Running scripts get carried to the next map with changemap
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.
@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.
- Graf Zahl
- 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
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.
If this got changed there'd be a lot of maps that'd suddenly develop problems. Changemap just initiates a normal level transition.