Updated Offset (markdown)

bi0qaw 2017-11-25 15:03:49 +01:00
parent d126134953
commit 468693d9e2

@ -16,7 +16,15 @@ set {_vector-circle::*} to circle with radius 5 and density 5 #creates a circle
set {_location-circle::*} to location at player offset by {_vector-circle::*} #gives the locations in the shape of the circle around the player
```
You can also chain this expression for more complicated things like:
Or:
```
set {_circle::*} to circle with radius 1 and density 5
loop all players:
show happy villager at loop-player's head offset by {_circle::*}
```
This shows a particle halo around the head of each player on your server.
You can also use multiple offset expressions for more complicated things like:
```
set {_cube::*} to cube with radius 5 #creates a cube
set {_circle::*} to circle with radius 2 and density 5 #creates a circle