Hi.
I'm trying to make a script for a special campaign, and my first objective is to launch a historic event in the first turn with the possibility to choose between two options for the human player. I've been trying different methods to implement the kingdoms option of _accepted/_declined, but I cannot find the method to obtain a result.
This is the piece of script related with this subject:
At the beginning of the script I add this event (in the same way it is done in the teutonic campaign with the conversion of lithuania.
After that I define several counters for date control, nothing related with this question. Then I put:Code:add_events event counter desembarco_spain_accepted event counter desembarco_spain_declined date 0 end_add_events
After that there is a long piece of code related to dates and seasons that works perfectly.Code:monitor_event FactionTurnEnd FactionIsLocal and I_TurnNumber = 0 spawn_army bla,bla,bla end historic_event desembarco_spain true terminate_monitor end_monitor
The result: when I press the end button of the first turn (turn zero?) the spawn_army works, the historic event appears, but without options.
Any idea what is wrong with the script?:hmmm:
P.D.: I've been also testing the options kill_character, move_character, reposition_character, but none of them work properly, at least with characters from descr_strat, as the script is not able to recognize those characters (from system.log error report).:hmmm:





Reply With Quote







