G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
AIScript Namespace Reference

Functions

AIScriptLibrary
EWalkSpeed GetWalkSpeed (const AActor entity)
bool IsAPlayer (AActor actor)
void SetMindset (AActor entity, EAIAgentMindset newMindset)
void SetWalkSpeed (const AActor entity, EWalkSpeed requestedWalkSpeed)
USpawningRequest SpawnAIAgent (TSubclassOf< USpawnAIAgentDefinition > spawnDef, FVector position)
USpawningRequest SpawnAIAgentWithTransform (TSubclassOf< USpawnAIAgentDefinition > spawnDef, FTransform transform, FOnEntitySpawnDelegateDynamic onSpawned=FOnEntitySpawnDelegateDynamic())
AActor GetLocalPlayer ()

Function Documentation

◆ GetLocalPlayer()

AActor GetLocalPlayer ( )

◆ GetWalkSpeed()

EWalkSpeed GetWalkSpeed ( const AActor entity)

◆ IsAPlayer()

bool IsAPlayer ( AActor actor)

◆ SetMindset()

void SetMindset ( AActor entity,
EAIAgentMindset newMindset )

◆ SetWalkSpeed()

void SetWalkSpeed ( const AActor entity,
EWalkSpeed requestedWalkSpeed )

◆ SpawnAIAgent()

USpawningRequest SpawnAIAgent ( TSubclassOf< USpawnAIAgentDefinition > spawnDef,
FVector position )

◆ SpawnAIAgentWithTransform()

USpawningRequest SpawnAIAgentWithTransform ( TSubclassOf< USpawnAIAgentDefinition > spawnDef,
FTransform transform,
FOnEntitySpawnDelegateDynamic onSpawned = FOnEntitySpawnDelegateDynamic ( ) )