FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    1. Home
    2. GeneralJenson
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 23
    • Groups 0

    GeneralJenson

    @GeneralJenson

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

    GeneralJenson Unfollow Follow

    Latest posts made by GeneralJenson

    • RE: Scripting

      Okie but I will still be waiting for response

      posted in I need help
      G
      GeneralJenson
    • 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
      G
      GeneralJenson
    • 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
      G
      GeneralJenson
    • 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
      G
      GeneralJenson
    • 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
      G
      GeneralJenson
    • 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
      G
      GeneralJenson
    • 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
      G
      GeneralJenson
    • 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
      G
      GeneralJenson
    • RE: Need help in coding

      Thank you very much sir. Well appreciated.

      posted in I need help
      G
      GeneralJenson
    • 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
      G
      GeneralJenson