Ancient Empires Elysium
Welcome Guest [Log In] [Register]
Welcome to Ancient Empires Elysium. We hope you enjoy your visit.

You're currently viewing our forum as a guest. Guest posting is allowed here. Registering will also give you the option to send private messages and access the shout box.



Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
AEEaddreply2
Scripting?
Topic Started: Mar 22 2010, 03:17 AM (285 Views)
FB_Bob
AEE Latinus
Would it be possible to make a script that swaps units durring campain?

Something like when Hastati reach 3 ceverons they could be taken to a city and changed to princeps via a script
Atm i do it myself by dispanding the hastai and recruiting a princeps when they reach 3 ceverons to simulate there evolvement.
Maybe it could be attached to the 4tpy script
it could check for "unit roman hastati exp 3" and dispand, then recuite "unit princeps"
or be like a reward for reaching hastati exp 3, like in missions.
Im just guessing though
Anyone have any thoughts about a possible script?

- I may try on TWC somone may have already done one.
Edited by FB_Bob, Mar 22 2010, 03:18 AM.
Win XP HE sp3
Pen DC 2.6
Nvida GF 8800 GTS
4gb RAM
p_off profile2 quote3 p_top
 
FB_Bob
AEE Latinus
what about sometyhing like

script

declare_counter loop
set_counter loop 0
monitor_event FactionTurnStart FactionIsLocal

console_command select_settlement Rome
console_command set_cards_selectable
console_command call_object_shortcut army_overview_button
console_command simulate_mouse_click
console_command UnitType "roman hastati" 1 exp 3
console_command simulate_mouse_click
console_command disband_unit_button
console_command simulate_mouse_click
console_command create_unit Rome "roman princeps" 1
end_monitor
while I_CompareCounter loop = 0
end_while
Win XP HE sp3
Pen DC 2.6
Nvida GF 8800 GTS
4gb RAM
p_off profile2 quote3 p_top
 
limes
Member Avatar
AEE Censor
I think it's possible. Adding and taking out units should be possible in RTW script. Check auto-merge script and talk to Salvor Hardin :).
Posted Image[

German Death Camps
p_off profile2 quote3 p_top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Ancient Empires Elysium: Grand Campaign (AEE:GC) · Next Topic »
AEEaddreply2