|
Mechanic: TeleportIn
|
|
|
|
====================
|
|
====================
|
|
**Aliases:** tpin, tpdir, tpi
|
|
|
|
|
|
## 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 Value |
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|-----------------------|-----------|-------------------------------------------------------------------------------|---------------|
|
|
|-----------------------|-----------|-------------------------------------------------------------------------------|---------------|
|
... | @@ -15,10 +14,15 @@ Attributes |
... | @@ -15,10 +14,15 @@ Attributes |
|
| 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
|
|
|
|
Skills:
|
|
|
|
- teleportin{vector=0,0,1} @trigger ~onInteract
|
|
|
|
```
|
|
|
|
## Aliases:
|
|
|
|
|
|
Skills:
|
|
[x] tpin
|
|
- teleportin{vector=0,0,1} @trigger ~onInteract |
|
[x] tpdir
|
|
\ No newline at end of file |
|
[x] tpi |
|
|
|
\ No newline at end of file |