unreal.AITestSpawnInfo

class unreal.AITestSpawnInfo(pawn_class=None, controller_class=None, team_id=[255], behavior_tree=None, spawn_location=None, number_to_spawn=1, spawn_delay=0.0, pre_spawn_delay=0.0)

Bases: unreal.StructBase

AITest Spawn Info

C++ Source:

  • Module: FunctionalTesting

  • File: FunctionalAITest.h

Editor Properties: (see get_editor_property/set_editor_property)

  • behavior_tree (BehaviorTree): [Read-Write] if set will be applied to spawned AI

  • controller_class (type(Class)): [Read-Write] class to override default pawn’s controller class. If None the default will be used

  • number_to_spawn (int32): [Read-Write] Number to Spawn

  • pawn_class (type(Class)): [Read-Write] Determines AI to be spawned

  • pre_spawn_delay (float): [Read-Write] delay before attempting first spawn

  • spawn_delay (float): [Read-Write] delay between consecutive spawn attempts

  • spawn_location (Actor): [Read-Write] Where should AI be spawned

  • team_id (GenericTeamId): [Read-Write] Team ID

property behavior_tree

[Read-Write] if set will be applied to spawned AI

Type

(BehaviorTree)

property controller_class

[Read-Write] class to override default pawn’s controller class. If None the default will be used

Type

(type(Class))

property number_to_spawn

[Read-Write] Number to Spawn

Type

(int32)

property pawn_class

[Read-Write] Determines AI to be spawned

Type

(type(Class))

property pre_spawn_delay

[Read-Write] delay before attempting first spawn

Type

(float)

property spawn_delay

[Read-Write] delay between consecutive spawn attempts

Type

(float)

property spawn_location

[Read-Write] Where should AI be spawned

Type

(Actor)

property team_id

[Read-Write] Team ID

Type

(GenericTeamId)