JumpToFrame


Makes a path-controlled object teleport to a frame position. Make the frame_sector the sector that the new frame position is in - which is not always the sector that the object is currently in. The arrived message will not be called when the object is jumped.

JumpToFrame() puts the object at the frame position no matter if there's anything already there. With JumpToFrame(), the object being moved cannot be blocked.

This verb does not update the current frame when it jumps the object. Syntax:

JumpToFrame(object, frame_int, frame_sector);

If you don't give JumpToFrame() the correct sector, you'll get errors like:

If the object to be jumped is paused with PathMovePause(), JumpToFrame() will jump the object, but it will still be paused.