Hello everyone!
I have a small problem here, I'm making an Ai using jasscraft, i'm very new to it and still trying to learn it, have set the ai to build custom units and buildings and everything is going excapt one thing, The Attacking, I want this ai to attack player 2(Blue) but it always attack player 1(Red) and i don't know why, in this map Player 1(Red) controls Player 2(Blue).
I have also checked the globals and it is set to:
player user = Player(2)
call SuicideOnPlayerEx(M7,M7,M7,user)
yet still goes and attack player 1, Can anybody give a tip?
I have a small problem here, I'm making an Ai using jasscraft, i'm very new to it and still trying to learn it, have set the ai to build custom units and buildings and everything is going excapt one thing, The Attacking, I want this ai to attack player 2(Blue) but it always attack player 1(Red) and i don't know why, in this map Player 1(Red) controls Player 2(Blue).
I have also checked the globals and it is set to:
player user = Player(2)
call SuicideOnPlayerEx(M7,M7,M7,user)
yet still goes and attack player 1, Can anybody give a tip?