![]() |
CTP2 Bureau The Modding Knowledgebase |
|
Apolyton CTP2 forums Apolyton CTP2 archives Source Code Project SVN |
![]() |
Search the site: |
SLIC-Reference :
|
Arguments: | player1, player2, priority, diplostate, spystr_id, advicestr_id, newsstr_id | Type: | void |
Player 1 considers his diplomatic state towards player 2 from DiplomacyDB-index with given priority |
tested
working
SFN_ERROR Slic_ConsiderDiplomaticState::Call(SlicArgList *args) { if (args->Count() < 4) return SFN_ERROR_NUM_ARGS; sint32 player; sint32 foreigner; sint32 priority; sint32 diplomacy_index; sint32 argNum = 0; if(!args->GetPlayer(argNum++, player)) return SFN_ERROR_TYPE_ARGS; if(!args->GetPlayer(argNum++, foreigner)) return SFN_ERROR_TYPE_ARGS; if(!args->GetInt(argNum++, priority)) return SFN_ERROR_TYPE_ARGS; if(!args->GetInt(argNum++, diplomacy_index)) return SFN_ERROR_TYPE_ARGS; AiState state; sint32 spystr_id; sint32 advicestr_id; sint32 newsstr_id; if (args->Count() > static_cast |
Using this form you may add your own observations concerning the above item, e.g. additional hints for usage, limitations, oddities etc. Please note this is not the place for asking questions or carrying out discussions about modding - please refer to the Apolyton CTP2 Modification Forum on that purpose.
*) Required fields
![]() |
This site is currently maintained by: BureauBert (Webmaster) Maquiladora (Manager) Legal Notice: Legal Notice Statistics: 85649 unique users since 02.05.2004 (» Site Statistics) Hosted by: WebhostOne |