I've found something odd that only happens in a new game when the noskillmenu is used. I have a script that damages the player according to their changed tid (tid changed in an enter script). It works fine if I warp to any map and use it, but if I start a new game, it doesn't work properly.
First I was using damagething, and that simply didn't damage the player. Using thing_damage instead, gzdoom now crashes whenever it tries to damage the player.
The attached map should clear up anything I didn't explain well. The switch in the first map takes you to the second level. The second map changes the player's tid in an enter script, and the switch does a thing_damage on the player's new tid.
If you warp to the second map in any way, or change the mapinfo to start the episode on map02, the crash doesn't happen.
[duplicate] damaging a player by their changed TID
Moderator: Graf Zahl
- chopkinsca
- Posts: 183
- Joined: Thu Dec 29, 2005 8:09
[duplicate] damaging a player by their changed TID
- Attachments
-
- dmgcrash.zip
- (1.46 KiB) Downloaded 114 times