Assembly: Sandbox.Game.dll

public class MyAgentDefinition: MyBotDefinition

Fields

Member Description
static DEFAULT_AGENT_HEIGHT
static DEFAULT_AGENT_MAX_CLIMB
static DEFAULT_AGENT_MAX_SLOPE
static DEFAULT_AGENT_RADIUS
static DEFAULT_PATH_ARRIVAL_RADIUS
AgentHeight
AgentMaxClimb
AgentMaxSlope
AgentRadius
AttackLength
AttackRadius
AttackSound
BotModel
CanOpenDoors
CharacterDamage
DisableBroadcasting
DoorOpenDistance
FactionTag
GridDamage
IgnoredByAITargeting
InventoryContainerTypeId
InventoryContentGenerated
Invulnerable
JoinSpawnerFaction
PathArrivalRadius
RemoveAfterDeath
RemoveTimeMs
RespawnTimeMs
SteeringBehaviors
TargetCharacters
TargetGrids
TargetType
UseFactionColor
WildlifeCategory
AvailableInSurvival Inherited from MyDefinitionBase
BehaviorSubtype Inherited from MyBotDefinition
BehaviorType Inherited from MyBotDefinition
BotBehaviorTree Inherited from MyBotDefinition
Commandable Inherited from MyBotDefinition
Context Inherited from MyDefinitionBase
DescriptionArgs String used for shortcuts used in description

Inherited from MyDefinitionBase
DescriptionEnum Enum used for localization of description. Null for player created definitions.

Inherited from MyDefinitionBase
DescriptionString String used for user created description which do not have localization support.

Inherited from MyDefinitionBase
Enabled Definition can be disabled by mod, then it will be removed from definition manager

Inherited from MyDefinitionBase
Icons Icons for the definition, they are used from top to bottom.

Inherited from MyDefinitionBase
Id Inherited from MyDefinitionBase
Public Indicates if definition should be offered in Cube builder

Inherited from MyDefinitionBase
TypeDefinitionId Inherited from MyBotDefinition

Properties

Member Description
DescriptionText Use this property when showing description in GUI, as it takes into account more complex description construction.

Inherited from MyDefinitionBase
DisplayNameEnum Enum used for localization of display name. Null for player created definitions.

Inherited from MyDefinitionBase
DisplayNameString String name used for user created definitions which do not have localization support.

Inherited from MyDefinitionBase
DisplayNameText Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction.

Inherited from MyDefinitionBase
DLCs Inherited from MyDefinitionBase

Constructors

Member Description
MyAgentDefinition()
MyBotDefinition() Inherited from MyBotDefinition
MyDefinitionBase() Inherited from MyDefinitionBase

Methods

Member Description
AddItems(MyCharacter)
AddItems(MyCharacter) Inherited from MyBotDefinition
CheckDefinitionDLCs(String[]) Checks if the definition has all required DLCs as it should have

Inherited from MyDefinitionBase
GetObjectBuilder() Inherited from MyDefinitionBase
Init(MyObjectBuilder_DefinitionBase, MyModContext) Inherited from MyDefinitionBase
Postprocess() Override this in case you want to do some postprocessing of the definition before the game starts. Prefer to use MyDefinitionPostprocessor instead.Postprocess is useful if you want to process the definition before the game begins,

but you only want to do it when all the definitions are loaded and merged.

Inherited from MyDefinitionBase
ToString() Inherited from MyDefinitionBase

Inheritance: MyDefinitionBase ˃ MyBotDefinition

Inheritors: