Changes
Page history
Update setrotation
authored
Oct 11, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
skills/mechanics/setrotation.md
View page @
f7ef995c
...
...
@@ -5,9 +5,9 @@ Changes the rotation of the target (only works on non-player entities).
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| relative |
| If the change is relative to the target, boolean | false |
| yaw |
| The new yaw | 0 |
| pitch |
| The new pitch | 0 |
| relative |
r, rel
| If the change is relative to the target, boolean | false |
| yaw |
y
| The new yaw | 0 |
| pitch |
p
| The new pitch | 0 |
## Examples
...
...
@@ -15,4 +15,8 @@ Changes the rotation of the target (only works on non-player entities).
Skills
:
-
setrotation{relative=true;pitch=-45}
-
...
```
\ No newline at end of file
```
## Aliases
-
[x] setrot
\ No newline at end of file