AIDef:Action/WarpPlayerToActor: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
import AI definitions from 1.5.0
 
Nebroc (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{AIDef
Instantly teleports the player to an actor, eventually with an offset, facing South by default.{{AIDef
|name=WarpPlayerToActor
|name=WarpPlayerToActor
|type=Action
|type=Action
Line 8: Line 8:
! Name !! Type !! Default value !! Description
! Name !! Type !! Default value !! Description
|-
|-
| ActorName || String ||  ||  
| ActorName || String ||  || ID of the actor to teleport to
|-
|-
| DestinationX || Float ||  ||  
| DestinationX || Float ||  || Offset on the X axis
|-
|-
| DestinationY || Float ||  ||  
| DestinationY || Float ||  || Offset on the Y axis
|-
|-
| DestinationZ || Float ||  ||  
| DestinationZ || Float ||  || Offset on the Z axis
|-
|-
| DirectionY || Float ||  ||  
| DirectionY || Float ||  || Offset on the horizontal rotation
|-
|-
| RotToVec3f || Bool ||  ||  
| RotToVec3f || Bool ||  ||  
Line 22: Line 22:
| GameDataVec3fRotDir || String ||  ||  
| GameDataVec3fRotDir || String ||  ||  
|-
|-
| OnGround || Bool ||  ||  
| OnGround || Bool ||  || If true, teleports the Player on the ground in case the target isn't
|-
|-
| RelativeDist || Float ||  ||  
| RelativeDist || Float ||  ||  
|-
|-
| IsOffsetBaseTargetActor || Bool ||  ||  
| IsOffsetBaseTargetActor || Bool ||  || If true, uses the previously defined offsets
|-
|-
|}
|}

Latest revision as of 15:18, 24 October 2026

Instantly teleports the player to an actor, eventually with an offset, facing South by default.

WarpPlayerToActor
AI definition
Type Action

DynamicInstParams

Name Type Default value Description
ActorName String ID of the actor to teleport to
DestinationX Float Offset on the X axis
DestinationY Float Offset on the Y axis
DestinationZ Float Offset on the Z axis
DirectionY Float Offset on the horizontal rotation
RotToVec3f Bool
GameDataVec3fRotDir String
OnGround Bool If true, teleports the Player on the ground in case the target isn't
RelativeDist Float
IsOffsetBaseTargetActor Bool If true, uses the previously defined offsets


Derived definitions

Demo_WarpPlayerToActor (EventSystemActor)

No overridden parameters.