Hi everyone!
In worldmap.fos there is a formula which I use to manage special encounters.
_CheckSpecialEncounter(LOCATION_SecretBunker, (zone.Terrain == TERRAIN_Desert && (uint(GetLvar(leader, LVAR_q_secret_vault)) <= ELAPSED_TIME) && (Random(1, 18000) == 1 && leader.Stat[ST_LEVEL] > Random(0, 23))), SetLvar(leader, LVAR_q_secret_vault, ELAPSED_TIME + REAL_HOUR(
));
I wan't to make a special encouter unique, I imagine it is related to this formula and/or a variable, but i don't find the solution.
If I change this part of the formula: ELAPSED_TIME + REAL_HOUR(
)); I wouldn't have any results, because it looks like this part manages the time before the test ....
The solution would be a variable?
Thanks for your help guys!