| 03-14-2003, 05:19 PM | #1 |
I need some help~ I making a map where you get to chose your difficulty and a menu poops up and you get to choose aout of 3 difficultys easy, medium, hard. Well when you choose easy you get 10 lifes, and medium 5 lives, and hard 1 life but there are 5 players how do i get that to work! |
| 03-14-2003, 05:24 PM | #2 |
http://www.wc3campaigns.com/sections...ticle&artid=23 read that first you will need 1 integer array, every time somebody clicks for button 1 (easy) add 1 to varible[1] same with 2 and 3 then you need to see how many people there are in the map at the time, that can be done by running a loop to see if player slot status is = to is playing, if so add them to a player group varible, then count the number of people in the group (under integer functions that option is there) then just take easy, med and hard divide by the number of players and see which value is the highest |
| 03-14-2003, 08:14 PM | #3 |
OK thank you! :foot: |
| 03-14-2003, 10:59 PM | #4 |
I tried it and got it to work thank you very much and hope every one else will have the same luck and help from other people thank you! |
| 03-15-2003, 01:30 AM | #5 |
np, good luck with your map |
| 05-01-2003, 05:15 PM | #6 |
ok thanks for all the help! |
| 05-02-2003, 10:43 PM | #7 |
This thread is now: _.-`-._.-`-._.-`-._.-`-._Closed.-`-._.-`-._.-`-._.-`-._ Because i have got all the info i needed! Thank you all for your help and time. :D |
