SLIC-Reference : ConsiderResponse
CTP2 Bureau
The Modding
Apolyton CTP2 forums
Apolyton CTP2 archives
Source Code Project SVN

SLIC-Reference : : ConsiderResponse  

Arguments: player1, player2, priority, response_type[, optional_parameters_see_source] Type: void

Makes player 1 consider the response indicated by type with the given priority - optional parameters allow for adding of counter proposals or threats

if counter: tone,num_types,first_type [,first_arg][,second_type [,second_arg]] if threat: [city]

tested   working  


// VOID  ConsiderResponse(sender,
//                        receiver, 
//                        priority,                      
//                        response_type,     RESPONSE_REJECT=1,RESPONSE_ACCEPT=2,RESPONSE_COUNTER=3,RESPONSE_THREATEN=4
//                        [counter_type|threat_type], 
//                             if counter:  tone,num_types,first_type [,first_arg][,second_type [,second_arg]]
//                             if threat:  [city]
//                        );

SFN_ERROR Slic_ConsiderResponse::Call(SlicArgList *args)
	if (args->Count() < 4)

	sint32 argNum = 0;
	Response response;

	if (!ParseResponseSlicArgs(args, argNum, response))

	if (Diplomat::GetDiplomat(response.senderId).GetReceiverHasInitiative(response.receiverId))
			ConsiderResponse(response.senderId, response);
			ConsiderResponse(response.receiverId, response);

DPRINTF(k_DBG_SLIC, ("ConsiderResponse:sender %d, receiver %d, type %d\n",
		response.senderId,response.receiverId, response.type));

	return SFN_ERROR_OK;

Information last updated by BureauBert on 26.06.2009

User Comments:

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.

Subject / Title*:
(A maximum of characters left)
Your name:*
Your website (URL):

*) Required fields

No user comments yet.

This site is currently maintained by: BureauBert (Webmaster)  Maquiladora (Manager)  Legal Notice: Legal Notice Statistics: 126676 unique users since 02.05.2004 (» Site Statistics) Hosted by: WebhostOne
Share this page:  VK Facebook Twitter LiveJournal OK MR Google+ LinkedIn tumblr Pinterest Blogger Digg Evernote