Sandbox.ModAPI
IMyAiBlockComponent
Assembly: Sandbox.Common.dll
public interface IMyAiBlockComponent
Describes AI block activator entity component. This entity component turns on/off AI Behavior.
Events
| Member | Description |
|---|---|
| OnActivatedChanged | Triggers when Is Activated is changed |
Properties
| Member | Description |
|---|---|
| AiBlockType | Gets or sets the AI Block Type |
| Entity | Gets the entity of this entity component |
| HudErrorStringGetter | Getter for errors on AI block. Used in detailed info. |
| IsActivated | Gets or sets if the component is activated. This activation turns on/off AI Behavior of the AI blocks. |
Methods
| Member | Description |
|---|---|
| Deactivate() | Deactivates the component |
Inheritors: