Show / Hide Table of Contents

Class EnemyAttack

Temporary enemy attack.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
EnemyAttack
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(EnemySenses))]
public class EnemyAttack : MonoBehaviour

Fields

| Improve this Doc View Source

ArrowMissilePrefab

Declaration
public DaggerfallMissile ArrowMissilePrefab
Field Value
Type Description
DaggerfallMissile
| Improve this Doc View Source

ClassicMeleeDistanceVsAI

Declaration
public float ClassicMeleeDistanceVsAI
Field Value
Type Description
Single
| Improve this Doc View Source

maxRangedDistance

Declaration
public const float maxRangedDistance = 51.2F
Field Value
Type Description
Single
| Improve this Doc View Source

MeleeDistance

Declaration
public float MeleeDistance
Field Value
Type Description
Single
| Improve this Doc View Source

MeleeTimer

Declaration
public float MeleeTimer
Field Value
Type Description
Single
| Improve this Doc View Source

minRangedDistance

Declaration
public const float minRangedDistance = 6F
Field Value
Type Description
Single

Methods

| Improve this Doc View Source

BowDamage(Vector3)

Declaration
public void BowDamage(Vector3 direction)
Parameters
Type Name Description
Vector3 direction
| Improve this Doc View Source

ResetMeleeTimer()

Declaration
public void ResetMeleeTimer()

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX