Show / Hide Table of Contents

Class NPCCombatSystem

Handles combat for NPCs.

Inheritance
System.Object
NPCCombatSystem
Namespace: Content.Server.NPC.Systems
Assembly: Content.Server.dll
Syntax
public sealed class NPCCombatSystem : EntitySystem

Fields

| Improve this Doc View Source

Enabled

If disabled we'll move into range but not attack.

Declaration
public bool Enabled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

UnoccludedCooldown

Cooldown on raycasting to check LOS.

Declaration
public const float UnoccludedCooldown = null
Field Value
Type Description
System.Single

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾