Jump to navigation Jump to search
TMVT is a command that tests if the target can move to (MVTO) the given location and still be contained properly within the room system. TMVT returns 1 if it can, 0 if it can't. For this reason, TMVT is often used with a DOIF statement. MVSF tries to automate the 'find a safe place, then move it there' process.
A common CAOS error in Creatures 3 and Docking Station is "invalid map position" and TMVT can be used to prevent this, as described above.
TMVT (integer) x (float) y (float)
Test if target can move to the given location and still lie validly within the room system. Returns 1 if it can, 0 if it can't.