ai.inc - Condition IDs unique for every player?
Verfasst: Do 3. Mai 2018, 15:24
Hello,
This is one of those questions that's been bugging me for ages. I would like to know if I can use the same condition IDs for each AI player.
For example: First AI player has 2 conditions with the ID 1 and 2 respectively.
Second AI Player has 3 conditions with the ID 1, 2 and 3 respectively:
Does the game allow it? Or do I have to use IDs of 3, 4 and 5 for the second AI player?
The ai.inc is still a hit and miss for me. I tried using the same IDs once and it did not work, however I am not sure if it's the game or I made a typo (which happens quite often).
Kind regards,
Phantowm
This is one of those questions that's been bugging me for ages. I would like to know if I can use the same condition IDs for each AI player.
For example: First AI player has 2 conditions with the ID 1 and 2 respectively.
Code: Alles auswählen
AI_SetCondition_True 1 1
AI_SetCondition_OnDiplomacyChange 1 2 1 0 1 1
Code: Alles auswählen
AI_SetCondition_OnTimer 2 1 240 120 1440
AI_SetCondition_OnPlayerSeen 2 2 0 0 2
AI_SetCondition_OnExternal 2 3 1
The ai.inc is still a hit and miss for me. I tried using the same IDs once and it did not work, however I am not sure if it's the game or I made a typo (which happens quite often).
Kind regards,
Phantowm