• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Ephafn

Custom User Title
48 Badges
Sep 10, 2009
335
220
  • Crusader Kings II: Charlemagne
  • Magicka 2
  • Europa Universalis IV: Pre-order
  • Victoria 2: A House Divided
  • Sengoku
  • Europa Universalis IV: Res Publica
  • March of the Eagles
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Europa Universalis IV: El Dorado
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Stellaris: Apocalypse
  • Prison Architect
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall - Revelations
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
I'm trying to create a mod that would periodically give units to the AI, to make it scarrier in the late game.

I found how to add specific units on the map, but I would like to be able to scale it up according to some numerical value. To that end, the "Unit - Create (Unit Category)" seems perfect, since once of its parameter is numerical strength value. However, the first parameter of this action (the unit category) takes a string, and I have no idea what to put here. I tried to a faction name ("Amazon"), to no effect.

Does anyone knows how to use this script action?
 
That sounds like it would be done via a Turn Trigger.

That example mod that spawns a Penguin is set up to work every time the turn passes.
Except it checks for the Turn count being 1. And I am pretty sure it is still marked as "do not repeat", so it would not work more then once anyway.