More detailed battle information for scripts

Discussion in 'Simulator Suggestions' started by Aerith, Nov 10, 2012.

Thread Status:
Not open for further replies.
  1. Aerith

    Aerith Banned

    Joined:
    Jan 6, 2011
    Messages:
    354
    Likes Received:
    1
    Currently at the end of a battle you can only get a limited set of information from scripts:

    - The result (Win/forfeit/tie)
    - The players

    I believe it would be more useful if scripters had access to more details, such as:

    - "tie" is a bit vague, it is currently impossible to distinguish between ties caused by in game mechanics, such as both player's Pokemon fainting because of poison, and ties done by the suggest draw button. The former is legitimate, the latter can actually be abused to preserve a player's rating or position in a tournament. Disconnecting is another reason for a tie (if both players happen to do so at the time). It would be useful to distinguish between each method of drawing.

    - Battle results/progress, such as number of Pokemon left (possibly during a match?)

    - This isn't as big a priority, but it would be nice to have access to these during and after a match.
     
  2. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    +1. Battle Progress should be an Object, so that the list of arguments isn't insanely long.
     
  3. shona123

    shona123 New Member

    Joined:
    Dec 16, 2014
    Messages:
    1
    Likes Received:
    0
    Battle results/progress, such as number of Pokemon left (possibly during a match?)
     
Thread Status:
Not open for further replies.