AIDef:Action/StorePlayerPosAndRotate: Difference between revisions
imported>Leoetlino import AI definitions from 1.5.0 |
No edit summary |
||
| Line 1: | Line 1: | ||
{{AIDef | Saves the Player's current position and horizontal rotation to a Vec3 Game Data flag and a float Game Data flag.{{AIDef | ||
|name=StorePlayerPosAndRotate | |name=StorePlayerPosAndRotate | ||
|type=Action | |type=Action | ||
| Line 8: | Line 8: | ||
! Name !! Type !! Default value !! Description | ! Name !! Type !! Default value !! Description | ||
|- | |- | ||
| GameDataVec3fPlayerPos || String || || | | GameDataVec3fPlayerPos || String || || Name of the Vec3 Game Data flag to store the coordinates to | ||
|- | |- | ||
| GameDataFloatPlayerDirectionY || String || || | | GameDataFloatPlayerDirectionY || String || || Name of the float Game Data flag to store the horizontal rotation to | ||
|- | |- | ||
|} | |} | ||