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

Neoptolemus

First Lieutenant
3 Badges
Jun 11, 2008
287
0
  • Darkest Hour
  • Victoria 2
  • 500k Club
I have two questions about triggers.

The first relates to ministers.

I want an event that checks who your chief of staff is. So in the trigger I have chiefofstaff = 232. However, this does not work, as when I have it in the trigger the game hangs in the scenario loading menu. Is there some piece of syntax that I'm missing or does this trigger condition just not work?

The second relates to decisions:

The way I understand it, if the trigger conditions are met the decision fires. Is there a way to make it random whether or not an AI enacts it?
 
incabinet = 232 (there are specific triggers for headofstate and headofgovernment, but not the other positions).

No, you can add random = 0-100 in the trigger, but if you wait enough time it will fire anyway. You could use a one-action event.
 
Excellent. Incabinet will be fine since 232 is a chiefofstaff only anyway.

I've used a low percentage combined with a small window of opportunity which should hopefully get the result I want. Human players should never miss the window of opportunity, because the decision is made available by a fixed event, but AI will only have a low percentage of it occurring so sometimes it won't happen inside that window.

I just want to play with the new decision system, but don't want the AI always taking the same path!

Thanks.