check war or peace mode using API or stats

Discussion in 'Lua Discussions' started by snowwhitehot, Aug 23, 2021.

Tags:
Thread Status:
Not open for further replies.
  1. snowwhitehot

    snowwhitehot Avatar

    Messages:
    1
    Likes Received:
    2
    Trophy Points:
    3
    I am writing a lua script to show different information depending on whether you sheath your weapon or not.
    I am sure there is no API function to check whether you are in combat mode or not.
    try ShroudGetStatValueByName() but still no luck.
    maybe somewhere in 511 stats can provide some hints on whether you are in war or peace mode?
    If not, please consider to add the war/peace flag in the next updated API.
    Thanks.
     
    Tirrag and Elgarion like this.
Thread Status:
Not open for further replies.