Arma Reforger Script API
Loading...
Searching...
No Matches
AIExtraMoveParams Interface Reference
Inheritance diagram for AIExtraMoveParams:

Public Member Functions

proto external void Reset ()
 Resets everything to default values.
 
proto external void SetStraightPathCostModifier (float value, vector dir)
 Sets cost modifier which increases cost of graph edges aligned same way as the provided direction.
 

Member Function Documentation

◆ Reset()

proto external void AIExtraMoveParams.Reset ( )

Resets everything to default values.

You must call this after creation of the object.

◆ SetStraightPathCostModifier()

proto external void AIExtraMoveParams.SetStraightPathCostModifier ( float value,
vector dir )

Sets cost modifier which increases cost of graph edges aligned same way as the provided direction.

Default value is 1.0 and thus does not affect anything. Values above 1.0 will make pathfinding favor non-straight path to destination. But it's impossible to know beforehand if the chosen path will flank left or right.


The documentation for this interface was generated from the following file: