[4.1.3] FloorZ no longer updates in real time

Bugs that have been investigated and resolved somehow.

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.
Post Reply
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

[4.1.3] FloorZ no longer updates in real time

Post by Matt »

Code: Select all

class fzchk:actor{
    default{+nointeraction}
    states{
    spawn:
        BAL1 A 1 nodelay setz(floorz);
        //BAL1 A 1 nodelay setz(getzat());
        wait;
    }
}
1. Summon this actor on top of a lift.
2. Call down the lift.

Expected: Actor goes down with the lift.
Actual: Actor stays in place.

If you replace FloorZ with GetZAt the expected behaviour happens.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [4.1.3] FloorZ no longer updates in real time

Post by Graf Zahl »

Of course it doesn't go, considering it uses +nointeraction. That flag implies NOBLOCKMAP which is the reason why it doesn't move.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: [4.1.3] FloorZ no longer updates in real time

Post by Matt »

Updating wiki entries then, this can be closed.
Post Reply

Return to “Closed Bugs [GZDoom]”