G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FNavAgentProperties Struct Reference

Properties of representation of an 'agent' (or Pawn) used by AI navigation/pathfinding. More...

Public Member Functions

Functions
bool GetbCanWalk () const
 If true, this Pawn is capable of walking or moving on the ground.
bool GetbCanCrouch () const
 If true, this Pawn is capable of crouching.
void SetbCanCrouch (bool Value)
 If true, this Pawn is capable of crouching.
bool GetbCanJump () const
 If true, this Pawn is capable of jumping.
void SetbCanJump (bool Value)
 If true, this Pawn is capable of jumping.
FNavAgentProperties & opAssign (FNavAgentProperties Other)
void SetbCanWalk (bool Value)
 If true, this Pawn is capable of walking or moving on the ground.
bool GetbCanSwim () const
 If true, this Pawn is capable of swimming or moving through fluid volumes.
void SetbCanSwim (bool Value)
 If true, this Pawn is capable of swimming or moving through fluid volumes.
bool GetbCanFly () const
 If true, this Pawn is capable of flying.
void SetbCanFly (bool Value)
 If true, this Pawn is capable of flying.
Public Member Functions inherited from FMovementProperties
bool GetbCanWalk () const
 If true, this Pawn is capable of walking or moving on the ground.
bool GetbCanCrouch () const
 If true, this Pawn is capable of crouching.
void SetbCanCrouch (bool Value)
 If true, this Pawn is capable of crouching.
bool GetbCanJump () const
 If true, this Pawn is capable of jumping.
void SetbCanJump (bool Value)
 If true, this Pawn is capable of jumping.
FMovementProperties & opAssign (FMovementProperties Other)
void SetbCanWalk (bool Value)
 If true, this Pawn is capable of walking or moving on the ground.
bool GetbCanSwim () const
 If true, this Pawn is capable of swimming or moving through fluid volumes.
void SetbCanSwim (bool Value)
 If true, this Pawn is capable of swimming or moving through fluid volumes.
bool GetbCanFly () const
 If true, this Pawn is capable of flying.
void SetbCanFly (bool Value)
 If true, this Pawn is capable of flying.

Public Attributes

MovementProperties
float32 AgentHeight
 Total height of the capsule used for navigation/pathfinding.
float32 AgentStepHeight
 Step height to use, or -1 for default value from navdata's config.
float32 NavWalkingSearchHeightScale
 Scale factor to apply to height of bounds when searching for navmesh to project to when nav walking.
FSoftClassPath PreferredNavData
 Type of navigation data used by agent, null means "any".
float32 AgentRadius
 Radius of the capsule used for navigation/pathfinding.
Variables
bool bCanCrouch
bool bCanJump
bool bCanWalk
bool bCanSwim
bool bCanFly
Public Attributes inherited from FMovementProperties
bool bCanJump
bool bCanWalk
bool bCanSwim
bool bCanFly
bool bCanCrouch

Detailed Description

Properties of representation of an 'agent' (or Pawn) used by AI navigation/pathfinding.

Member Function Documentation

◆ GetbCanCrouch()

bool GetbCanCrouch ( ) const

If true, this Pawn is capable of crouching.

◆ GetbCanFly()

bool GetbCanFly ( ) const

If true, this Pawn is capable of flying.

◆ GetbCanJump()

bool GetbCanJump ( ) const

If true, this Pawn is capable of jumping.

◆ GetbCanSwim()

bool GetbCanSwim ( ) const

If true, this Pawn is capable of swimming or moving through fluid volumes.

◆ GetbCanWalk()

bool GetbCanWalk ( ) const

If true, this Pawn is capable of walking or moving on the ground.

◆ opAssign()

◆ SetbCanCrouch()

void SetbCanCrouch ( bool Value)

If true, this Pawn is capable of crouching.

◆ SetbCanFly()

void SetbCanFly ( bool Value)

If true, this Pawn is capable of flying.

◆ SetbCanJump()

void SetbCanJump ( bool Value)

If true, this Pawn is capable of jumping.

◆ SetbCanSwim()

void SetbCanSwim ( bool Value)

If true, this Pawn is capable of swimming or moving through fluid volumes.

◆ SetbCanWalk()

void SetbCanWalk ( bool Value)

If true, this Pawn is capable of walking or moving on the ground.

Member Data Documentation

◆ AgentHeight

float32 AgentHeight

Total height of the capsule used for navigation/pathfinding.

◆ AgentRadius

float32 AgentRadius

Radius of the capsule used for navigation/pathfinding.

◆ AgentStepHeight

float32 AgentStepHeight

Step height to use, or -1 for default value from navdata's config.

◆ bCanCrouch

bool bCanCrouch

◆ bCanFly

bool bCanFly

◆ bCanJump

bool bCanJump

◆ bCanSwim

bool bCanSwim

◆ bCanWalk

bool bCanWalk

◆ NavWalkingSearchHeightScale

float32 NavWalkingSearchHeightScale

Scale factor to apply to height of bounds when searching for navmesh to project to when nav walking.

◆ PreferredNavData

FSoftClassPath PreferredNavData

Type of navigation data used by agent, null means "any".