Navigation

    FAForever Forums
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. GeneralJenson
    G

    GeneralJenson

    @GeneralJenson

    0
    Reputation
    23
    Posts
    8
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    GeneralJenson Follow

    Best posts made by GeneralJenson

    This user does not have any upvoted posts yet.

    Latest posts made by GeneralJenson

    RE: Scripting

    Okie but I will still be waiting for response

    posted in I need help •
    RE: Scripting

    Is this appropriate:

    function Armybuffed(army)
    local Brain = GetArmyBrain(army)
    while (not Brain or Brain:IsDefeated() or not units or table.getn(units) < 1) do
    for id, bp in Brain.Unit do
    if type(bp.Defense.Health) == 'number' then
    bp.Defense.Health = bp.Defense.Health * 3
    end
    if type(bp.Defense.MaxHealth) == 'number' then
    bp.Defense.MaxHealth = bp.Defense.MaxHealth * 3
    end
    if type(bp.Defense.Shield.ShieldMaxHealth) == 'number' then
    bp.Defense.Shield.ShieldMaxHealth = bp.Defense.Shield.ShieldMaxHealth * 3
    end
    end
    end
    end

    posted in I need help •
    Scripting

    how to create a function to multiply by 3 the max health of all units of a certain army?

    posted in I need help •
    RE: Support ACU Assist order code

    Ow my mistake not scenario framework but with the functions made in basemanager.lua. I can't find any assist only function for SACU exclusively.

    posted in AI development •
    RE: Support ACU Assist order code

    I am trying to edit the SupCom FA campaign ai scripts. I wanted the ai bases to have SACU assisting factories that builds patrolling units, and main forces. Instead of using the scenario framework engineer assist function. I could just use a scenario utility that will specify a SACU unit to only assist a factory. Problem is I can't find a function that will not affect any engineers other than SACU.

    posted in AI development •
    Support ACU Assist order code

    Is there anyone who knows the code to create a specific support acu unit and focus it only throughout its existence as an entity to assist a specific factory in SupCom FA Vanilla Lua Script?

    posted in AI development •
    RE: SupportACU Focus Assist Codes

    Yes, its about scripting. Ow I thought this is the only way I can get help in terms of coding. Thanks by the way.

    posted in I need help •
    SupportACU Focus Assist Codes

    Is there anyone who knows the code to assign a specific Support Acu unit to focus only on assisting a specific factory?

    posted in I need help •
    RE: Need help in coding

    Thank you very much sir. Well appreciated.

    posted in I need help •
    Need help in coding

    Guys can you give me some advice on what to add to this sample codes so that the ai will only build it when the player has only one land experimental built.

    Sample:
    opai = FortClarke:AddOpAI('UEF_Fatboy_1',
    {
    Amount = 2,
    KeepAlive = true,
    PlatoonAIFunction = {SPAIFileName, 'PatrolThread'},
    PlatoonData = {
    PatrolChain = 'M4_UEF_LandAttack_Mid_Chain',
    },
    MaxAssist = 8,
    Retry = true,
    }
    )

    posted in I need help •