h1z1-server
    Preparing search index...
    interface BearInstance {
        id: string;
        isStandingUp: boolean;
        npc: Npc;
        patrolTimer: number;
        server: ZoneServer2016;
        standUpTimer: number;
        state: BearTransitions;
        states: Record<string, (dt: number) => void>;
        stateTimer: number;
        targetCharacterId: string | null;
        targetPos: Float32Array<ArrayBufferLike> | null;
        threatPos: Float32Array<ArrayBufferLike> | null;
        wanderOrigin: Float32Array;
        event(eventId: BearEvents): void;
        onTransition(_from: string, _to: string, _eventId: BearEvents): void;
        tick(dt: number): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    id: string
    isStandingUp: boolean
    npc: Npc
    patrolTimer: number
    standUpTimer: number
    states: Record<string, (dt: number) => void> = {}
    stateTimer: number
    targetCharacterId: string | null
    targetPos: Float32Array<ArrayBufferLike> | null
    threatPos: Float32Array<ArrayBufferLike> | null
    wanderOrigin: Float32Array

    Methods