![]() |
CTP2 Bureau The Modding Knowledgebase |
|
Apolyton CTP2 forums Apolyton CTP2 archives Source Code Project SVN |
![]() |
Search the site: |
SLIC-Reference :
|
Arguments: | player, priority, strategy | Type: | void |
Player considers a strategy from StrategyDB with given priority |
tested
working
SFN_ERROR Slic_ConsiderStrategicState::Call(SlicArgList *args) { if (args->Count() < 3) return SFN_ERROR_NUM_ARGS; sint32 player; sint32 priority; sint32 strategy_index; sint32 argNum = 0; if(!args->GetPlayer(argNum++, player)) return SFN_ERROR_TYPE_ARGS; if(!args->GetInt(argNum++, priority)) return SFN_ERROR_TYPE_ARGS; if(!args->GetInt(argNum++, strategy_index)) return SFN_ERROR_TYPE_ARGS; AiState state; sint32 spystr_id; sint32 advicestr_id; sint32 newsstr_id; // optional string arguments: 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
No user comments yet. |
![]() |
This site is currently maintained by: BureauBert (Webmaster) Maquiladora (Manager) Legal Notice: Legal Notice Statistics: 102502 unique users since 02.05.2004 (» Site Statistics) Hosted by: WebhostOne |