TeleportEvent routine

TURBU

TeleportEvent routine

 

Teleports a specified event to another location on the map.

 

Syntax

 

procedure teleportEvent(which: TRpgEvent; x, y: integer);

 

Description

 

This routine teleports the event specified by which to a new location, specified by the coordinates passed to the routine.  Events can only be teleported within the current map.  If the location is not within the boundaries of the map, it does nothing.

 

Related topics

Teleport routine

SwapEvents routine

This help file was created with the free trial version of HelpScribble.