h1z1-server
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    actorModel: string

    ModelId of the TaskProp

    actorModelId: number

    Id of the model that corresponds to the entity

    characterId: string

    Universal Identifier, used for locating the home of an entity

    effectTags: number[] = []

    Used for vehicle abilities, array of the corresponding vehicles effects

    flags: {
        bit0: number;
        bit1: number;
        bit10: number;
        bit11: number;
        bit13: number;
        bit14: number;
        bit15: number;
        bit16: number;
        bit17: number;
        bit18: number;
        bit19: number;
        bit2: number;
        bit22: number;
        bit23: number;
        bit3: number;
        bit4: number;
        bit5: number;
        bit6: number;
        bit7: number;
        bit9: number;
        knockedOut: number;
        noCollide: number;
        nonAttackable: number;
        projectileCollision: number;
    } = ...

    Adjustable flags for the lightweight, useful flags: nonAttackable - disables melee flinch noCollide - determines if NpcCollision packet gets sent on player collide bit13 - causes a crash if 1 with noCollide 1 knockedOut - currently used for determining if a character is dead

    h1emu_ai_id?: bigint
    headActor: string = ...

    Returns the modelId of the lightweight, zombies or players

    health: number = 1000000

    Health of the lightweight

    interactionDistance: number

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

    isLightweight: boolean = true

    Returns true if the character is a lightweight

    materialType: number

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

    maxHealth: number = 1000000

    Maximum health of the lightweight

    movementVersion: number = 0
    nameId: number = 0

    Id of the lightweight, used in determining the proper name for HUDTimer and InteractionString

    navAgent?: CrowdAgent
    npcRenderDistance: number

    Distance (H1Z1 meters) where the entity will render, when undefined, uses the zoneserver._charactersRenderDistance value instead

    positionUpdateType: PositionUpdateType = PositionUpdateType.STATIC

    Determines if the lightweight is moving with the positionUpdate - Avcio

    profileId: number = 0

    Used for constructions

    requiredItemId: number = 0

    Id of the required item for the corresponding task

    rewardItems: number[] = []

    Array of items to be rewarded upon

    scale: Float32Array<ArrayBuffer> = ...

    Physical size of the entity based on the entity model

    spawnerId: number
    state: {
        lookAt: Float32Array;
        position: Float32Array;
        rotation: Float32Array;
        yaw: number;
    }

    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

    useSimpleStruct: boolean = false

    Determines if the lightweight should be used as a SimpleNpc (non-moving)

    Methods