Changes
Page history
removed dante
authored
Oct 22, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
skills/mechanics/teleportin.md
View page @
387d4084
====================
## Description
## Description:
Will teleport the target relative to the caster's yaw. The direction attribute must be in this format: direction=x,y,z
Will teleport the target relative to the caster's yaw. The direction attribute must be in this format: direction=x,y,z
`x`
is forward or backward,
`y`
is up or down, and
`z`
is left or right
`x`
is forward or backward,
`y`
is up or down, and
`z`
is left or right
## Attributes:
## Attributes
| Attribute | Aliases | Description | Default |
| Attribute | Aliases | Description | Default Value |
|-----------|-----------|----------------------------------------------------------------------|---------|
|-----------------------|-----------|-------------------------------------------------------------------------------|---------------|
| vector | direction,dir,d,v | The direction to where the mob will be teleported | |
| vector | direction,dir,d,v | The direction to where the mob will be teleported | |
| yaw | y | Yaw modifier | 0 |
| yaw | y | Yaw modifier | 0 |
| targetasorigin | tao | Will use the target's location as the origin instead of the caster's | false |
| targetasorigin | tao | Will use the target's location as the origin instead of the caster's | false |
## Examples:
## Examples
Will teleport the player that triggered the skill to the right of the caster.
Will teleport the player that triggered the skill to the right of the caster.
```
yaml
```
yaml
Skills
:
Skills
:
-
teleportin{vector=0,0,1} @trigger ~onInteract
-
teleportin{vector=0,0,1} @trigger ~onInteract
```
```
## Aliases:
[x] tpin
## Aliases
[x] tpdir
-
[x] tpin
[x] tpi
-
[x] tpdir
\ No newline at end of file
-
[x] tpi
\ No newline at end of file