Log in

View Full Version : Scripting



Reno Melitensis
09-30-2008, 13:52
I decided to aid the Selucid defending themselves against the onslaught of the Pahlava, Pontus and the Hellenon. They are confined to the eastern Med. with Tarsus, Anthiocea, Sidon and Damaskus. The Pahlava AI has built at least 5 full stalks, with a mixture of eastern, indian and Pahlavan units, qiute interesting, but my concern is that I as the Romans, i may finish in an too much early conflict with the huge Pahlavan empire. So I decided to script an army for the Selucids to appear in 168 BCE near Anthiocea.

Now do I have to script this army in the main EBBS and where, because when I wrote down the scripting the ' show me how button' was inactivated.

This is how I write it down.

monitor_event CharacterTurnStart FactionType romans_julii
and I_TurnNumber = 464

spawn_army
faction romans_julii
character, Antiochus Epiphanes, named character, command 4, influence 4, management 0, subterfuge 0, age 31, , x 200, y 108
unit hellenistic cavalry generals bodyguard , exp 7 armor 1 weapon_lvl 1
unit hellenistic cavalry hellenikoi kataphraktoi, exp 4 armor 1 weapon_lvl 1
unit hellenistic cavalry hellenikoi kataphraktoi, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry heavy pezhetairoi, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry heavy pezhetairoi, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry patodapoi phalangitai, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry patodapoi phalangitai, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry patodapoi phalangitai, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry argyraspidai, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry argyraspidai, exp 4 armor 1 weapon_lvl 1
unit hellenistic chariots scythed, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry iudaioi taxeis, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry iudaioi taxeis, exp 4 armor 1 weapon_lvl 1
unit hellenistic infantry hypaspistai, exp 7 armor 1 weapon_lvl 1


Any help will be appreciated. Cheers

Foot
09-30-2008, 14:27
you have to have "end_monitor" at the end. It doesn't matter where it is placed, just so long as it is between "script" and "end_script"

Foot

Reno Melitensis
09-30-2008, 17:04
Oki,thanks Foot, thats seems to be the only part I left out at the end. I give it another try.

'Grazzi Hafna'. Cheers.