WalkTo

Character walks to a target position.

  • If the target position is furniture, the character walks to its default position.
  • If the target position is another character, the character walks to their position and follows them if they are moving.
  • If the target position is a place, the character walks to its default position (mostly at the center of that place).
  • If the target position is in a different place than the character, the action fails.
  • If the target position is a character and they leave the place after this action is started, the action fails.
  • If the path is blocked and the character cannot reach the target, this action fails.
  • If the target position is furniture and its default position is occupied by another character, the character approaches the furniture but the action will fail.
  • If this action is interrupted by other actions, this action fails.

Arguments
Argument Character Name
Type String
Default REQUIRED
Description Name of the character to walk
Argument Target Position
Type String
Default REQUIRED
Description A valid position to walk to

Examples

WalkTo(Tom, DiningRoom.Door)

WalkTo(Tom, Will)

WalkTo(Tom, DiningRoom.Table.Back)


See Also