ReadonlyLF_Tests if the action key is currently being pressed.
ReadonlyLF_Calculates the directional angle from this actor to another actor.
ReadonlyLF_Calculates the directional angle from another actor to this actor.
ReadonlyLF_Identifies which actor is currently carrying this actor.
ReadonlyLF_Identifies which actor is being carried by another actor.
ReadonlyLF_Gets the player's choice from the most recent dialogue menu.
ReadonlyLF_Checks for collision between this actor and any other actor.
ReadonlyLF_Tests if this actor is currently colliding with decorative scenery.
ReadonlyLF_Tests if another actor is currently colliding with decorative scenery.
ReadonlyLF_Checks for collision between a specific actor and any other actor.
ReadonlyLF_Gets Twinsen's current behavior/stance mode.
ReadonlyLF_Checks if another actor is visible within this actor's cone of view.
ReadonlyLF_Calculates the 2D distance between this actor and another actor.
ReadonlyLF_Calculates the 3D distance between this actor and another actor.
ReadonlyLF_Measures distance to another actor for conversation range checking.
ReadonlyLF_Checks the enabled state of a ladder zone.
ReadonlyLF_Identifies which actor last caused damage to this actor.
ReadonlyLF_Identifies which actor last caused damage to another actor.
ReadonlyLF_Gets the current life script track number for this actor.
ReadonlyLF_Gets the current life script track number for another actor.
ReadonlyLF_Checks if an actor was rendered in the current frame.
ReadonlyLF_Checks the enabled state of a rail zone.
ReadonlyLF_Calculates the clamped directional angle from this actor to another actor.
ReadonlyLF_Checks if a specific inventory item is currently being used. Beware that this check might have side effects, the auto-used items will be used automatically when checked. By default only the translator is set to be auto-used in the vanilla game (see INVENT.cpp)
ReadonlyLF_Determines which sceneric zone this actor is currently in.
ReadonlyLF_Determines which sceneric zone another actor is currently in.
LBA2 Life script functions, available in IdaJS.
Life functions are available in javascript through ida.Life enum object. Life functions can be called using ida.lifef function.
See
LifeOpcodes for numeric types reference, used in the life script.
Global Access
ida.Life