[wiki]TeleportInSector[/wiki] and [wiki]TeleportGroup[/wiki].
I don't know how long it's been like this. I don't know if fixing this would break some really old mod. And I don't know if this is actually intentional so I'm reporting it anyway.
Let's assume the "source" and "destination" spots have the same angle.
If the "fog" parameter is 0 then all teleported things won't have their angles changed. This, I assume, is the correct behaviour.
However, if "fog" is 1 then all teleported things seem to face eastward (angle is set to 0).
In this test map all monsters are "dormant", the skull-switches call TeleportGroup (it only teleports the player) and the non-skull-switches call TeleportInSector (and will teleport the monsters too).
The switches in the red colored sectors have "fog" set to 0.
The switches in the blue colored sectors have "fog" set to 1.
TeleportInSector & TeleportGroup change angle if "Fog" is 1
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Re: TeleportInSector & TeleportGroup change angle if "Fog" i
I've managed to narrow it down here. It seems to be used by both TeleportInSector and TeleportGroup.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: TeleportInSector & TeleportGroup change angle if "Fog" i
fixed. These should always preserve orientation