- Joined
- Nov 27, 2007
- Messages
- 85
Hello, when I am in game, I'd like to add some computer players to my map.
For example, command "-addbot 6 easy" creates a computer player with id 6 and easy difficulty.
So the func would look like
function AddComputerPlayer takes integer id, string ai_level returns nothing
// what should be the content of this function??
endfunction
What should be inside this function ?
Or maybe I should use something from common.j / blizzard.j ?
For example, command "-addbot 6 easy" creates a computer player with id 6 and easy difficulty.
So the func would look like
function AddComputerPlayer takes integer id, string ai_level returns nothing
// what should be the content of this function??
endfunction
What should be inside this function ?
Or maybe I should use something from common.j / blizzard.j ?