h1z1-server
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    actorModelId: number

    Id of the model that corresponds to the entity

    characterId: string

    Universal Identifier, used for locating the home of an entity

    cubebounds: CubeBounds
    effectTags: number[] = []

    Used for vehicle abilities, array of the corresponding vehicles effects

    h1emu_ai_id?: bigint
    health: number = ...

    Health initialized by maxHealth to determine the health percentage in pGetSimpleProxyHealth

    interactionDistance: number

    Distance (H1Z1 meters) at which the player can interact with the entity

    isTriggered: boolean = false

    Returns true if a snare has been stepped on

    itemDefinitionId: number

    Id of the TrapEntity - See ServerItemDefinitions.json for more information

    materialType: number

    The physical material the entity is made of - See enums.ts/MaterialTypes for more information

    maxHealth: number = 100000

    Maximum health alloted BaseSimpleNPC

    npcRenderDistance: number = 75

    Distance (H1Z1 meters) where the TrapEntity will render

    ownerCharacterId: string
    scale: Float32Array<ArrayBuffer> = ...

    Physical size of the entity based on the entity model

    state: { position: Float32Array; rotation: Float32Array }

    State of the BaseLightweightCharacter, includes: state (Float32Array), rotation(Float32Array), lookAt(Float32Array), and yaw (number)

    temporaryActorModelId?: number
    transientId: number

    Required for interactable entities, npc and interaction components packet

    trapTimer?: Timeout

    Damage delay for the TrapEntity

    worldOwned: boolean = false

    Methods