Updated Move Offset (markdown)

bi0qaw 2017-11-25 14:12:10 +01:00
parent 8642a8f3ff
commit 3b63218c7d
2 changed files with 16 additions and 10 deletions

@ -1,10 +0,0 @@
## Vectors
```
%vectors% offset by %vectors%
```
## Locations
```
%locations% offset by %vectors%
```

16
Move.md Normal file

@ -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}