Do you guys know how to mod it so that you get a global flag for only certain time?
Is it like this?
set_global_flag = { some_global_flag days = 2 }
Is it like this?
set_global_flag = { some_global_flag days = 2 }
Ok thx and how would such an event work? How would it look? Next time I will post this on the modding forum.Can't be done directly, so you would have to fire an event two days later that clears the flag.
Note that there are dedicated forums for modding.
namespace = some_namespace
character_event = {
id = some_namespace.2
is_triggered_only = yes
hide_window = yes
immediate = {
clr_global_flag = some_global_flag
}
}
character_event = {
id = some_namespace.2
days = 2
}
Ok I think I understand now thx for the info appreciate it!Code:namespace = some_namespace character_event = { id = some_namespace.2 is_triggered_only = yes hide_window = yes immediate = { clr_global_flag = some_global_flag } }
You would call this event with a delay of two days right after you set the global flag.
Code:character_event = { id = some_namespace.2 days = 2 }