Hi all . I'm trying to make a script for the Historical battle of Helm's Deep for the TATW mod . I started to test some stuff out before going onto the real scripting , like disabling the AI , and making a unit attack another unit . However , here comes the problem : the unit doesn't attack . I'm sure that i've labelled them well and all , and i get no error in the log file . Does anyone know what can be the problem here ?:
Spoiler Alert, click show to read: 

Code:
script


;------------- Initialising battle ----------;

         prepare_for_battle

;------------- Labelling units --------------;

;; Rohan units

label_unit 0 0 1 ro_bodyguard
label_unit 0 0 2 ro_spear1
label_unit 0 0 3 ro_spear2
label_unit 0 0 4 ro_speax1
label_unit 0 0 5 ro_speax2
label_unit 0 0 6 ro_warr1
label_unit 1 0 1 pike

monitor_conditions I_LocalFaction mongols
  
; Turning off the AI ;

ai_active_set off

; Rohan Unit commands ;

unit_order_attack_unit ro_bodyguard pike run

end_monitor

while I_InBattle
end_while

end_script


Normally , there shouldn't be any problem , because i chose the most safe units . Because i took both the first units of the army both times . Like this :

Code:
label_unit 0 0 1 ro_bodyguard
label_unit 1 0 1 pike
The first one is the first unit of alliance '0' The second one is the first unit of alliance '1' . So there can't be any problem , right ? Yet still they do nothing ..