REDNODE / GAME API

AIVehicleAgent

classnative

extends AIComponent › GameComponent › IComponent › IScriptable › ISerializable

Properties 2

NameTypeFlags
initCmdref<AIVehicleCommand>scriptedprivate
keepStrategyOnSearchBoolscriptedprivate

Methods 12

public final func GetInitCmd() -> ref<AIVehicleCommand>scripted
native const func GetReservedSeatsCount() -> Uint32
public final const func InitCommandIsA(commandClassName: CName) -> Boolscripted
native const func IsSeatReserved(seatName: CName) -> Bool
public final const func KeepStrategyOnSearch() -> Boolscripted
native func ReleaseSeat(seatName: CName)
native func ReleaseSeatReservedBy(reserver: EntityID)
native func SetDrivePatrolUpdate(update: ref<DrivePatrolUpdate>)
native func SetDriveToPointAutonomousUpdate(update: ref<DriveToPointAutonomousUpdate>)
public final func SetInitCmd(cmd: ref<AIVehicleCommand>)scripted
public final func SetKeepStrategyOnSearch(keep: Bool)scripted
native func TryReserveSeatOrFirstAvailable(reserver: EntityID, preferredSeatName: CName) -> CName