Updated Move Offset (markdown)
parent
8642a8f3ff
commit
3b63218c7d
@ -1,10 +0,0 @@
|
|||||||
## Vectors
|
|
||||||
```
|
|
||||||
%vectors% offset by %vectors%
|
|
||||||
```
|
|
||||||
|
|
||||||
## Locations
|
|
||||||
```
|
|
||||||
%locations% offset by %vectors%
|
|
||||||
```
|
|
||||||
|
|
16
Move.md
Normal file
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}
|
Loading…
Reference in New Issue
Block a user