Class EnemyEntity
Implements DaggerfallEntity with properties specific to enemies.
Assembly: Assembly-CSharp.dll
Syntax
public class EnemyEntity : DaggerfallEntity
Constructors
|
Improve this Doc
View Source
EnemyEntity(DaggerfallEntityBehaviour)
Declaration
public EnemyEntity(DaggerfallEntityBehaviour entityBehaviour)
Parameters
Fields
|
Improve this Doc
View Source
AssignEnemyEquipment
Declaration
public static EnemyEntity.EnemyStartingEquipment AssignEnemyEquipment
Field Value
|
Improve this Doc
View Source
OnLootSpawned
Declaration
public static EventHandler<EnemyLootSpawnedEventArgs> OnLootSpawned
Field Value
Properties
|
Improve this Doc
View Source
CareerIndex
Declaration
public int CareerIndex { get; }
Property Value
|
Improve this Doc
View Source
EntityType
Declaration
public EntityTypes EntityType { get; }
Property Value
|
Improve this Doc
View Source
MobileEnemy
Declaration
public MobileEnemy MobileEnemy { get; }
Property Value
|
Improve this Doc
View Source
PickpocketByPlayerAttempted
Declaration
public bool PickpocketByPlayerAttempted { get; set; }
Property Value
|
Improve this Doc
View Source
QuestFoeItemQueueIndex
Declaration
public int QuestFoeItemQueueIndex { get; set; }
Property Value
|
Improve this Doc
View Source
QuestFoeSpellQueueIndex
Declaration
public int QuestFoeSpellQueueIndex { get; set; }
Property Value
|
Improve this Doc
View Source
SoulTrapActive
Declaration
public bool SoulTrapActive { get; set; }
Property Value
|
Improve this Doc
View Source
SuppressInfighting
Suppress enemy infighting for this entity.
Entity will not target anyone but player and cannot be a target for infighting.
One example of use is Daedra Secuder whose winged sprites have no facing other than directly forward to player.
If Seducer participates in winged infighting their sprite can no longer align properly with controller facing.
Seducer behaviour will disable infighting once they transform into winged variant so enemy combats player only.
Declaration
public bool SuppressInfighting { get; set; }
Property Value
|
Improve this Doc
View Source
WabbajackActive
Declaration
public bool WabbajackActive { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ClearConstantEffects()
Declaration
public override void ClearConstantEffects()
Overrides
|
Improve this Doc
View Source
GetEnemyGroup()
Declaration
public DFCareer.EnemyGroups GetEnemyGroup()
Returns
|
Improve this Doc
View Source
GetLanguageSkill()
Declaration
public DFCareer.Skills GetLanguageSkill()
Returns
|
Improve this Doc
View Source
GetWeightInClassicUnits()
Declaration
public int GetWeightInClassicUnits()
Returns
|
Improve this Doc
View Source
SetEnemyCareer(MobileEnemy, EntityTypes)
Sets enemy career and prepares entity settings.
Declaration
public void SetEnemyCareer(MobileEnemy mobileEnemy, EntityTypes entityType)
Parameters
|
Improve this Doc
View Source
SetEnemyEquipment(Int32)
Declaration
public void SetEnemyEquipment(int variant)
Parameters
Type |
Name |
Description |
Int32 |
variant |
|
|
Improve this Doc
View Source
SetEnemySpells(Byte[])
Declaration
public void SetEnemySpells(byte[] spellList)
Parameters
Type |
Name |
Description |
Byte[] |
spellList |
|
|
Improve this Doc
View Source
SetEntityDefaults()
Assigns default entity settings.
Declaration
public override void SetEntityDefaults()
Overrides
|
Improve this Doc
View Source
SetHealth(Int32, Boolean)
Custom handling of SetHealth() for enemies to support soul trap.
Declaration
public override int SetHealth(int amount, bool restoreMode = false)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Update(DaggerfallEntityBehaviour)
Declaration
public override void Update(DaggerfallEntityBehaviour sender)
Parameters
Overrides