diff --git a/docs/_static/LuaLib/extra/readme_imgui.md.html b/docs/_static/LuaLib/extra/readme_imgui.md.html index e1240aa5..c818e567 100644 --- a/docs/_static/LuaLib/extra/readme_imgui.md.html +++ b/docs/_static/LuaLib/extra/readme_imgui.md.html @@ -274,7 +274,7 @@

Medieval 2: Total War - Engine Overhaul Project Lua Plugi

Welcome to the EOP Lua Plugin Documentation!


Please note that many of the examples require additional checks and not all functions are fully documented. If you need additional help, we welcome you to join the Discord!

-

Last updated: 2024-03-22 13:51:45

+

Last updated: 2024-03-30 15:32:32

diff --git a/docs/_static/LuaLib/index.html b/docs/_static/LuaLib/index.html index 6eb1f9de..6162f65f 100644 --- a/docs/_static/LuaLib/index.html +++ b/docs/_static/LuaLib/index.html @@ -295,6 +295,7 @@

Data Types

  • factionStruct:getBattleVsFactionStats (targetFactionID)
  • factionStruct:getAiFactionValues ()
  • factionStruct:getInterFactionLTGD (targetFaction)
  • +
  • factionStruct:setCharacterNameFaction (characterTypeIndex, factionID)
  • @@ -929,6 +930,8 @@

    Data Types

  • tileStruct
  • tileStruct:factionHasArmyNearTile (factionID)
  • tileStruct:factionHasCharacterOnTile (factionID)
  • +
  • tileStruct:getTileCharacterCount ()
  • +
  • tileStruct:getTileCharacterAtIndex (index)
  • @@ -1138,7 +1141,7 @@

    Medieval 2: Total War - Engine Overhaul Project Lua Plugi

    Welcome to the EOP Lua Plugin Documentation!


    Please note that many of the examples require additional checks and not all functions are fully documented. If you need additional help, we welcome you to join the Discord!

    -

    Last updated: 2024-03-22 13:51:45

    +

    Last updated: 2024-03-30 15:32:32

    @@ -1807,6 +1810,10 @@

    FactionStruct

    factionStruct:getInterFactionLTGD (targetFaction) Get various statistics the long term goal director uses versus a target faction. + + factionStruct:setCharacterNameFaction (characterTypeIndex, factionID) + Set the faction characters of a specific type draw their names from. +

    aiFaction

    @@ -3497,6 +3504,14 @@

    Tile

    + + + + + + + +
    tileStruct:factionHasCharacterOnTile (factionID) Check if a faction has a character on a tile.
    tileStruct:getTileCharacterCount ()Get amount of characters on a tile.
    tileStruct:getTileCharacterAtIndex (index)Get a character on a tile.

    RegionStruct

    @@ -9731,6 +9746,12 @@

    Fields:

    + +
  • setCharacterNameFaction + setCharacterNameFaction + + +
  • @@ -10474,6 +10495,40 @@

    Usage:

    local iLTGD = fac:getInterFactionLTGD(targetFac)
    + +
    + + factionStruct:setCharacterNameFaction (characterTypeIndex, factionID) +
    +
    +
    + Set the faction characters of a specific type draw their names from. +
    + +

    Parameters:

    + + + + + +

    Usage:

    + +

    aiFaction

    @@ -12185,7 +12240,7 @@

    Fields:

  • getSiege - getSiege + getSiege @@ -12640,7 +12695,7 @@

    Fields:

  • getSiege - getSiege + getSiege @@ -28791,6 +28846,18 @@

    Fields:

    +
  • +
  • getTileCharacterCount + getTileCharacterCount + + + +
  • +
  • getTileCharacterAtIndex + getTileCharacterAtIndex + + +
  • @@ -28866,6 +28933,68 @@

    Usage:

    local hasCharacterOnTile = tile:factionHasCharacterOnTile(3);
    + +
    + + tileStruct:getTileCharacterCount () +
    +
    +
    + Get amount of characters on a tile. +
    + + +

    Returns:

    +
      + + int + characterCount +
    + + + +

    Usage:

    + + +
    +
    + + tileStruct:getTileCharacterAtIndex (index) +
    +
    +
    + Get a character on a tile. +
    + +

    Parameters:

    + + +

    Returns:

    +
      + + character + char +
    + + + +

    Usage:

    + +

    RegionStruct

    diff --git a/docs/_static/LuaLib/readme_imgui.md.html b/docs/_static/LuaLib/readme_imgui.md.html index e1240aa5..c818e567 100644 --- a/docs/_static/LuaLib/readme_imgui.md.html +++ b/docs/_static/LuaLib/readme_imgui.md.html @@ -274,7 +274,7 @@

    Medieval 2: Total War - Engine Overhaul Project Lua Plugi

    Welcome to the EOP Lua Plugin Documentation!


    Please note that many of the examples require additional checks and not all functions are fully documented. If you need additional help, we welcome you to join the Discord!

    -

    Last updated: 2024-03-22 13:51:45

    +

    Last updated: 2024-03-30 15:32:32