O Ilusionista
Captain 80K
There is something which needs to be fixed on the manual - subject_to_minz / subject_to_maxz
According to the classic manual:
This is not true at all. And it won't make sense to have something SUBJECT to something but wilth a FALSE value.
I've checked the source code and yes - its reversed on the manual.
The right should be:
Edit: fixed.
According to the classic manual:
subject_to_minz {int}
~This command toggles minimum Z bounding for entity on field.
0 = Entity can't move beyond current zmin or minimum z. Default for most entities.
1 = Entity can move beyond current zmin or minimum z. Default for panel type entities.
subject_to_maxz {int}
~This command toggles maximum Z bounding for entity on field.
0 = Entity can't move beyond current zmax or maximum z. Default for most entities.
1 = Entity can move beyond current zmax or maximum z. Default for panel type entities.
This is not true at all. And it won't make sense to have something SUBJECT to something but wilth a FALSE value.
I've checked the source code and yes - its reversed on the manual.
Code:
// -----------bounds checking---------------
// Subjec to Z and out of bounds? Return to level!
if (self->modeldata.subject_to_minz > 0)
{
if(z < PLAYER_MIN_Z)
{
zdir = PLAYER_MIN_Z - self->position.z;
execute_onblockz_script(self);
}
}
The right should be:
subject_to_minz {int}
~This command toggles minimum Z bounding for entity on field.
0 = Entity can move beyond current zmin or minimum z. Default for panel type entities.
1 = Entity can't move beyond current zmin or minimum z. Default for most entities.
subject_to_maxz {int}
~This command toggles maximum Z bounding for entity on field.
0 = Entity can move beyond current zmax or maximum z. Default for panel type entities.
1 = Entity can't move beyond current zmax or maximum z. Default for most entities.
Edit: fixed.