AIDef:Action/WarpPlayerToActor: Difference between revisions

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
|-
|-
|}
|}