Readonly$Contains enum operations for this enum object
ReadonlyLM_Triggers Twinsen's action (like pressing the Z key).
ReadonlyLM_Adds choice to the next ask.
The first choice added will become default one (in the case the dialog is closed by Esc key or similar).
ReadonlyLM_Gives money to Twinsen.
ReadonlyLM_Adds health to another actor.
ReadonlyLM_Changes the animation of the actor.
ReadonlyLM_Changes the animation of another actor.
ReadonlyLM_Sets this actor's animation.
ReadonlyLM_Enable or disable texture animation.
ReadonlyLM_Says a line of dialogue and offers choices.
ReadonlyLM_Another actor says a line of dialogue and offers choices.
ReadonlyLM_Sets or clears the "background" (don't redraw) flag for this actor.
ReadonlyLM_Rotates actor.
ReadonlyLM_Changes the model of the actor.
ReadonlyLM_Changes the model of another actor.
ReadonlyLM_Enables or disables terrain collisions for this actor.
ReadonlyLM_Ends the game without displaying the credits.
ReadonlyLM_Enables or disables use of speech balloons.
ReadonlyLM_Make camera follow an actor.
ReadonlyLM_Recentres camera.
ReadonlyLM_Move to a different scene.
ReadonlyLM_Enables or disables cutscene mode.
ReadonlyLM_Removes a marker from the holomap.
ReadonlyLM_Set Twinsen's stance.
u8 - TwinsenStances
ReadonlyLM_Enables or disables a ladder zone.
ReadonlyLM_Display a lightning flash for some amount of deciseconds. Usefull, for example, to create weather changing effects. This is also used by game scripts on Citadel island to display lightning during the stormy weather.
ReadonlyLM_Ends the LBA life script execution for this actor. Note, that the Ida life script execution will continue if it's setup
ReadonlyLM_Enables or disables a conveyor zone.
ReadonlyLM_Fades to the given palette.
ReadonlyLM_Sets whether actor can fall.
ReadonlyLM_Displays a particle animation on an actor.
ReadonlyLM_Displays a particle animation at a point.
ReadonlyLM_Display the "found object" overlay.
ReadonlyLM_Restores Twinsen's health, mana and healing horn.
ReadonlyLM_Kills Twinsen and ends the game.
ReadonlyLM_Gives this actor's bonus items.
ReadonlyLM_Takes money from Twinsen.
ReadonlyLM_Deals damage to another actor, caused by this actor.
ReadonlyLM_Plays an impact animation above an actor.
ReadonlyLM_Plays an impact animation at a point.
ReadonlyLM_Gives Twinsen another clover box.
ReadonlyLM_Sets up Twinsen's car.
ReadonlyLM_Rotates the actor to face the opposite direction.
ReadonlyLM_Makes the actor invisible or visible again.
ReadonlyLM_Kills the given actor.
ReadonlyLM_Adds a picture to the memo slate.
ReadonlyLM_Says a line of dialogue.
ReadonlyLM_Another actor says a line of dialogue.
ReadonlyLM_Says a line using Zoe's parameters (like dialog color).
ReadonlyLM_Plays an audio sample on this actor with custom parameters.
ReadonlyLM_Hides the model for this actor.
ReadonlyLM_Enables or disables ignoring hits/damage to this actor.
ReadonlyLM_Enables or disables object/actor collisions for this actor.
ReadonlyLM_Switches the game's palette.
ReadonlyLM_Configures audio sample parameters.
ReadonlyLM_Displays a full-screen image.
u8 (0 or 1) - effect to apply (0 - fade, 1 - venetian blinds, but 1 doesn't really work good, so use 0)
ReadonlyLM_Show a dialog message on a still image background.
NOTE1: Only images that use LBA2 palette will work good with the dialogs. Some images from SCREEN.HQR are not supposed to work with dialogs, so the colors will be displayed broken. If you use a custom image, please import it using LBA palette.
NOTE2: use the Big dialog flags for the messages in this mode. The small messages might work not good, showing scene actors on top of image. If you want to try a small message, try hiding all the actors in the view by LifeOpcodes.LM_INVISIBLE command. This doesn't, however, always work.
ReadonlyLM_Plays the named cutscene video.
GameVideos to use the vanilla game videos.
ReadonlyLM_Plays a music track.
ReadonlyLM_Makes it rain for some amount of deciseconds. Use, for example, to create weather changing effects.
ReadonlyLM_Positions an actor on or near another actor.
ReadonlyLM_Moves this actor to a point.
ReadonlyLM_Like SAMPLE but plays the given number of repeats.
ReadonlyLM_Restores this actor's behaviour from the hidden variable.
ReadonlyLM_Restores the life script behaviour of another actor from a hidden variable.
ReadonlyLM_Restores Twinsen's stance from a hidden variable.
ReadonlyLM_Restores the move script track from the hidden variable.
ReadonlyLM_Restores the move script track of another actor from the hidden variable.
ReadonlyLM_Plays a sound sample coming from this actor.
ReadonlyLM_Like SAMPLE but plays the sample continuously.
ReadonlyLM_Like SAMPLE but randomly alters the sample's frequency.
ReadonlyLM_Stops the given sample if it is playing from this actor.
ReadonlyLM_Saves this actor's behaviour index to a hidden variable.
ReadonlyLM_Saves the life script behaviour of another actor to a hidden variable.
ReadonlyLM_Saves Twinsen's stance to a hidden variable.
ReadonlyLM_Sets the animation to use when talking.
ReadonlyLM_Sets this actor's armour value.
ReadonlyLM_Sets the armour value of another actor.
ReadonlyLM_Enables or disables a camera zone.
ReadonlyLM_Enables or disables a teleport zone.
ReadonlyLM_Jumps to a new behaviour block.
ReadonlyLM_Changes the active behaviour of another actor.
ReadonlyLM_Sets this actor's movement mode (Original: LM_SET_DIR). An optional target parameter is needed if mode is one of the following:
u8 - ControlModes
ReadonlyLM_Sets another actor's movement mode (Original: LM_SET_DIR_OBJ). An optional target parameter is needed if mode is one of the following:
ReadonlyLM_Immediately shifts this door to the East (cpp name: LM_SET_DOOR_RIGHT)
ReadonlyLM_Immediately shifts this door to the North (cpp name: LM_SET_DOOR_UP)
ReadonlyLM_Immediately shifts this door to the South (cpp name: LM_SET_DOOR_DOWN)
ReadonlyLM_Immediately shifts this door to the West (cpp name: LM_SET_DOOR_LEFT)
ReadonlyLM_Changes the frame number of this actor's animation.
ReadonlyLM_Changes the frame number of this actor's animated sprite.
ReadonlyLM_Enables or disables a terrain chunk.
ReadonlyLM_Enables or disables a spike/trap zone.
ReadonlyLM_Adds a marker to the holomap.
ReadonlyLM_Sets the health of an actor.
ReadonlyLM_Sets Twinsen's magic level.
ReadonlyLM_Enables or disables a rail zone.
ReadonlyLM_Changes the sprite used for this actor.
ReadonlyLM_Changes this actor's move script track.
ReadonlyLM_Changes another actor's move script track.
ReadonlyLM_Use inventory item.
ReadonlyLM_Enables or disables the shadow for another actor.
ReadonlyLM_Changes the state/variant of an inventory object.
ReadonlyLM_Saves the move script track to a hidden variable.
ReadonlyLM_Saves the move script track of another actor to a hidden variable.
ReadonlyLM_Subtracts health from another actor.
ReadonlyLM_Drains some of Twinsen's mana.
ReadonlyLM_Disables this actor from the scene completely. No visuals, collisions, scripts or any other interactions will appear to this actor until the scene restarts.
ReadonlyLM_Ends the game and shows the credits.
ReadonlyLM_Saves this actor's move script track to a game variable.
ReadonlyLM_Subtracts one key from the inventory.
ReadonlyLM_Sets this actor's move script track from a game variable.
LBA2 Life script opcodes, available in IdaJS.
Life opcodes are available in javascript through ida.Life enum object. Life opcodes can be called using ida.life function.
Life opcodes documentation has special types notation for numeric arguments and return values:
Global Access
ida.Life