Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / How to distribute the attack on the defenders?

Author
Message
peton777
7
Years of Service
User Offline
Joined: 17th Jun 2016
Location:
Posted: 17th Jun 2016 06:47
Tell me please, how to distribute the forces squad, so they attacked the enemy of everyone to everyone, let's say an enemy unit more than 20 warriors, and we must make sure that these 20 were distributed to my troop (attack) each for each? Please write code or formula!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 17th Jun 2016 12:03
Welcome.
Please show the code you have written so far, and where the problem is. then I am sure somebody will help you.
Do not ask for free code before showing your efforts so far.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt

Login to post a reply

Server time is: 2024-04-25 21:39:12
Your offset time is: 2024-04-25 21:39:12