unreal.AITestSpawnInfo
¶
- class unreal.AITestSpawnInfo(spawn_location: Actor = Ellipsis, number_to_spawn: int = 0, spawn_delay: float = 0.0, pre_spawn_delay: float = 0.0, pawn_class: Class = Ellipsis, controller_class: Class = Ellipsis, team_id: GenericTeamId = Ellipsis, behavior_tree: BehaviorTree = Ellipsis)¶
Bases:
AITestSpawnInfoBase
FAITestSpawnInfo
Generic AI Test Spawn Info used in FAITestSpawnSet within a generic AFunctionalAITest test.
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 AIcontroller_class
(type(Class)): [Read-Write] class to override default pawn’s controller class. If None the default will be usednumber_to_spawn
(int32): [Read-Write]pawn_class
(type(Class)): [Read-Write] Determines AI to be spawnedpre_spawn_delay
(float): [Read-Write] delay before attempting first spawnspawn_delay
(float): [Read-Write] delay between consecutive spawn attemptsspawn_location
(Actor): [Read-Write] Where should AI be spawnedteam_id
(GenericTeamId): [Read-Write]
- property behavior_tree: BehaviorTree¶
[Read-Write] if set will be applied to spawned AI
- Type:
- property controller_class: Class¶
[Read-Write] class to override default pawn’s controller class. If None the default will be used
- property team_id: GenericTeamId¶
[Read-Write]
- Type: