[Not a bug] [4.1.3] FloorZ no longer updates in real time

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[4.1.3] FloorZ no longer updates in real time

Postby Matt » Thu Jul 11, 2019 9:46 am

Code: Select allExpand view
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
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

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

Postby Graf Zahl » Thu Jul 11, 2019 10:25 am

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
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby Matt » Thu Jul 11, 2019 1:34 pm

Updating wiki entries then, this can be closed.
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest