Script call for changing enemy state

Discussion in 'RGSSx Script Support' started by Kemezryp, Aug 5, 2019.

  1. Kemezryp

    Kemezryp it's me Veteran

    Messages:
    36
    Likes Received:
    3
    Location:
    Poland
    First Language:
    Polish
    #1
  2. Another Fen

    Another Fen Veteran Veteran

    Messages:
    519
    Likes Received:
    234
    First Language:
    German
    Uh, seems indeed missing.

    However, the actor commands for Change HP/MP/State/Parameters also work for enemies if you replace
    $game_actors[id] with
    $game_troop.members[index] (index starting at 0)
    or
    $game_party.members with
    $game_troop.members to target the entire troop.

    Edit: remembered the troop setup a bit wrong, .compact is not a necessary here, but does not break anything either.
     
    Last edited: Aug 7, 2019
    #2
    Kemezryp likes this.
  3. Kemezryp

    Kemezryp it's me Veteran

    Messages:
    36
    Likes Received:
    3
    Location:
    Poland
    First Language:
    Polish
    yesyes that's exactly what I needed, thank you.
     
    #3

Share This Page