YesNoOk
avatar

Life and P2Life (Triggers) (Read 5198 times)

Started by Ricepigeon, October 09, 2015, 10:50:13 pm
Share this topic:
Life and P2Life (Triggers)
#1  October 09, 2015, 10:50:13 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
Life returns the player's life. P2Life is the same as Life, except that this returns the opponent's life.

Format:
    1.) Life
    2.) P2Life
Arguments:
    none
Return type:
    int
Error conditions:
    none

Examples:
Code:
trigger1 = life <= 10
  Triggers if the player has 10 or less life points remaining.

Additional Notes:
While Life and P2Life exist for Player1 and Player2, respectively, there is no P3Life or P4Life for simul mode. Instead, use the Partner,Life and Enemy(1),Life redirection triggers, respectively.