unreal.AITestSpawnInfo
¶
- class unreal.AITestSpawnInfo(spawn_location=None, number_to_spawn=1, spawn_delay=0.0, pre_spawn_delay=0.0, pawn_class=None, controller_class=None, team_id=[255], behavior_tree=None)¶
Bases:
unreal.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] Behavior Tree: if set will be applied to spawned AIcontroller_class
(type(Class)): [Read-Write] Controller Class: class to override default pawn’s controller class. If None the default will be usednumber_to_spawn
(int32): [Read-Write] Number to Spawnpawn_class
(type(Class)): [Read-Write] Pawn Class: Determines AI to be spawnedpre_spawn_delay
(float): [Read-Write] Pre Spawn Delay: delay before attempting first spawnspawn_delay
(float): [Read-Write] Spawn Delay: delay between consecutive spawn attemptsspawn_location
(Actor): [Read-Write] Spawn Location: Where should AI be spawnedteam_id
(GenericTeamId): [Read-Write] Team ID
- property behavior_tree¶
[Read-Write] Behavior Tree: if set will be applied to spawned AI
- Type
- property controller_class¶
[Read-Write] Controller Class: class to override default pawn’s controller class. If None the default will be used
- property team_id¶
[Read-Write] Team ID
- Type