Here is my code I based it on the Legends of Arkain series by the way. Did I made this right?
JASS:
globals
integer user = 6
endglobals
//=====================================
// main
//=====================================
function main takes nothing returns nothing
call CampaignAI(HOUSE,null)
call PrepFullSuicide()
loop
//Units
call SuicideUnitB('hfoo',user) // Footman
call SuicideUnitB('hkni',user) // Calvary
call SuicideUnitB('e000',user) // Arbalist
call SuicideUnitB('hmpr',user) // Battle Priest
call SuicideUnitB('hsor',user) // Bishop
call SuicideUnitB('h007',user) // Honor Guard
call SuicideUnitB('h001',user) // Perdonian Knight
call SuicideUnitB('h005',user) // Perdonian Knight
//Heroes
call SuicideUnitB('H000',user)
call SuicideUnitB('H004',user)
endloop
endfunction
Keeping in mind that the number is offset compared to player numbers in the editor, so 0 is player 1 (red), 1 is blue, etc, 2 teal, etc. And then you ask to attack after X time
Ah so you mean to tell me that all this time Player 1 started with 0? Instead of the proper ways of counting?
So the code Ive sent in this case "Integer User = 6" is technically targeting player 5 yes?