swiftlys2/docs/api/ai/
API Reference Events

IOnEntityCreatedEvent

Interface
Namespace: SwiftlyS2.Shared.Events · Assembly: SwiftlyS2.CS2.dll
public interface IOnEntityCreatedEvent

Called when an entity is created.

View source

Properties

Entity

The entity that was created. The entity is not fully initialized when this event is called, better do things on next tick and also add a validity check there.

CEntityInstance Entity { get; }
Property Value