Page 1 of 1

Question on Event conditionality

Posted: Tue Nov 25, 2025 9:59 am
by Knightpawn
I want a certain Event Y to become active only if another Event X has being triggered.

1. What is the appropriate sub-forum to post this question?
2. How do I achieve that?

Re: Question on Event conditionality

Posted: Tue Nov 25, 2025 10:24 am
by blu3s
When Event X triggers, create a lua to store a key in the scenario, (stored it as a key so it is saved into scenario data)


https://commandlua.github.io/assets/Fun ... Value.html

On Event Y checks, check for that variable using GetKeyValue.

https://commandlua.github.io/assets/Fun ... Value.html

Probably Mods & Scenarios is the best subforum for this Q.

Re: Question on Event conditionality

Posted: Tue Nov 25, 2025 3:23 pm
by Knightpawn
Thanks. Appreciated