Skip to content
User Avatar
#2439
Auto-translated
Could you please explain why, when using StartCombat, the enemy hero deployed from the reserve becomes neutral? Is there a way to fix this? The code essentially looks like this: ``` DeployReserveHero('Skeggy', 27, 145, 0, 0); sleep(1); local ENA = crtables(random(3)+1); StartCombat(hero, 'Skeggy', 5, ENA[1][1], ENA[1][2], ENA[2][1], ENA[2][2], ENA[3][1], ENA[3][2], ENA[4][1], ENA[4][2], ENA[5][1], ENA[5][2], nil, 'AC', '/Arenas/Arena.AdventureFlybyScene).xdb#xpointer(/AdventureFlybyScene)'); ``` crtables is an external function.