okay i got a question About Leaderboreds so this is what i did
Now my other question's is
So in my Game u cna like choose ur hero? and stuff but its like on a - command what i need help with is that when i do this certian thing like if i typed -Bob it would give me a unit bob and turn that off but i could type -cow and it would give me that and turn that off but. what i want it to do is once i have bob i can't have another hero
if you get what iam saying i want 1 hero only and if u try to select another hero it wont work out??
One more question Gold
What i jsut did recently was
Code:
LeaderBored
Events- Elapsed time 5.00 sec in game
Condtion-
Action- Leaderboard - Create a leaderboard for (All players) titled Player Kills
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (((Picked player) controller) Equal to User) then do (Leaderboard - Add (Picked player) to (Last created leaderboard) with label Kills and value 0) else do (Do nothing)
Leaderboard - Show (Last created leaderboard)
Code:
Tally Points
Events- Unit - A unit Dies
Condtion-(Owner of (Dying unit)) Equal to Player 10 (Light Blue)
Action-
If (((Dying unit) belongs to an enemy of (Picked player)) Equal to True) then do (Leaderboard - Change the value for (Triggering player) in (Last created leaderboard) to 1) else do (Do nothing)
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
Now my other question's is
So in my Game u cna like choose ur hero? and stuff but its like on a - command what i need help with is that when i do this certian thing like if i typed -Bob it would give me a unit bob and turn that off but i could type -cow and it would give me that and turn that off but. what i want it to do is once i have bob i can't have another hero
if you get what iam saying i want 1 hero only and if u try to select another hero it wont work out??
One more question Gold
Code:
Money
Events-
Condtion-
Action-
Player - Turn Gives bounty On for Player 10 (Light Blue)
Player Group - Pick every player in (All players) and do (Player - Turn Gives bounty On for (Picked player))
Code:
Event-
Unit - A unit owned by Player 10 (Light Blue) Dies
Condtion-
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Action-
Player - Add 100 to Player 1 (Red) Current gold
Code:
Event-
Unit - A unit owned by Player 10 (Light Blue) Dies
Condtion-
(Owner of (Dying unit)) Equal to Player 10 (Light Blue)
Action-
Player - Add 100 to Player 1 (Red) Current gold