Page 1 of 1

[4.1.3] FloorZ no longer updates in real time

Posted: Thu Jul 11, 2019 8:46 am
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.

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

Posted: Thu Jul 11, 2019 9:25 am
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.

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

Posted: Thu Jul 11, 2019 12:34 pm
by Matt
Updating wiki entries then, this can be closed.