From 3b63218c7d15ff11e5f111ea4defebeaa67c5307 Mon Sep 17 00:00:00 2001 From: bi0qaw Date: Sat, 25 Nov 2017 14:12:10 +0100 Subject: [PATCH] Updated Move Offset (markdown) --- Move-Offset.md | 10 ---------- Move.md | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 10 deletions(-) delete mode 100644 Move-Offset.md create mode 100644 Move.md diff --git a/Move-Offset.md b/Move-Offset.md deleted file mode 100644 index 0f88cb5..0000000 --- a/Move-Offset.md +++ /dev/null @@ -1,10 +0,0 @@ -## Vectors -``` -%vectors% offset by %vectors% -``` - -## Locations -``` -%locations% offset by %vectors% -``` - diff --git a/Move.md b/Move.md new file mode 100644 index 0000000..01f5ee7 --- /dev/null +++ b/Move.md @@ -0,0 +1,16 @@ +## Vectors +``` +%vectors% moved by %vector% +``` + +## Locations +``` +%locations% with center %location% moved to %location% +``` + +Moves a list of locations or vectors to another position. The vector syntax just adds the second vector argument to the list. It is basically: `%vectors% + %vector%`. The location syntax is best explained with an example: +``` +set {_circle::*} to circle at {_player1} with radius 1 and density 1 +set {_moved::*} to {_circle::*} with center {_player1} moved to {_player2} +``` +This would first create a circle around {_player1} and then move that circle to {_player2}