• 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.

SmallStarfishOnleviathan

Private
15 Badges
Apr 7, 2020
19
1
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Synthetic Dawn
like this

a = {
b = {
param = 1
}
}

b = {
while = {
count = param
to do sth
}
}

in scripted_effects it didnt work. And in scripted_trigger it just can do this.

In trigger i want the code like this.
a = {
if limit b = yes
to do sth
}

b = {
is_ai = no
}

but vs code throw a exception, b cannot in limit scope.
 

Firegolem

First Lieutenant
17 Badges
Oct 19, 2019
250
110
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Crusader Kings II: The Old Gods
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
Last edited:

Firegolem

First Lieutenant
17 Badges
Oct 19, 2019
250
110
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Crusader Kings II: The Old Gods
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris

Firegolem

First Lieutenant
17 Badges
Oct 19, 2019
250
110
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Crusader Kings II: The Old Gods
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris

Firegolem

First Lieutenant
17 Badges
Oct 19, 2019
250
110
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Crusader Kings II: The Old Gods
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
i got it, but it's not quite what I thought.
i can use a var to target effect, then i check the var's value, so i got the value like a trigger used vars to calculate sth.
Sorry, you were a bit indistinct. Can you show us what you have done in the name of the topic!?