@Ceratul:
Environment - Deal damage using Effect on Victim from (Triggering unit) with (Real((Behavior count for player Player, counting Queued Or Better))) extra damage
Run this trigger:
Elapsed time = 0.01
Set bank Integer for player 1
For Each A from 1 - 100000 with increment of 1
Add value A to key A section A to last created bank
Save last created bank
Wait .01 seconds
Eventually, it will give you an error, or maybe the limit is even higher. I don't want to run that because it will take a large amount of time, and my CPU will start bitching.
That, however, is the trigger to determine the max (up to 100k).
What's with all the complex work arounds?
This is very simple to recreate -
All you need is a variable called Player (Int), with an array of max players, and this code:
Local Variable - A (Int)
Elapsed time is 0.01
For each integer A from 1 to 14 with increment one do
Variable - Set Player[A] = (Name of player (Triggering player))
If then else
IF - Player[A] = Name of triggering player
Then - Set AdminON[A] = True
That's it.. -.-
Several ways you can do this, the best one would be kanaru's.
1 - Tint the two non-clicked images to a color of around 175 - 200. This will make the clicked image appear bright.
2 - Overlap another button image on the clicked button, and set transparency mode to lighten (will pretty much do what it says)
3 - Lower the alpha on the other two images.
However, it's better to use Kanaru's method, since it's the most accurate.
Events - Unit enters map area
Actions
If-Then-Else
If - Condition - Unit type of triggering unit is Barracks = True
Then - Action - Order triggering unit to Barracks - Train (Train Marine)
Else
If-Then-Else
If - Condition - Unit type of triggering unit is Marine = True
Then - Action - Pick closest unit to position of triggering unit of type Barracks
Then - Action - Order picked unit to Barracks - Train (Train Marine)
That should do it. Please tell me if one of the functions doesn't work, since i did this from memory.
@StatusQ3:
Create a variable called Random with an array of 14
Easy, create a function and run it when dialog button is clicked.
Function Gamble
Parameters Player (int)
Actions
Set Random to Random number between 1 and 3 (inclusive) (Inclusive means it will include 12, and 3, exclusive will only include 2)
If Then Else-If
General - If (Conditions) then do multiple (Actions)
If Then Else
General - Else if (Conditions) then do (Actions)
Else If - Random = 1
Then - Action 1
General - Else if (Conditions) then do (Actions)
Else If - Random = 2
Then - Action 2
General - Else if (Conditions) then do (Actions)
Else If - Random = 3
Then - Action 3
0
0
0
0
0
0
Download Sotis and host it. Add an AI slot, and go to sleep. Since there is only one lobby per game, people will join your game.
HOWEVER, the game will not start with an AI slot unless you manually start it.. Do this to get any map down from the top.
Have fun
Edit: Posted this "glitch" so everyone can get sotis down from the top - (Shitty rip off of DotA, which was an equally shitty rip off of AOS).
Never mind, apparently it was patched today.
0
The ones i tested:
Integer - 1000 +
Unit - 100 +
I doubt you'll need more then that saved in a bank file.
0
Several ways you can do this, the best one would be kanaru's.
1 - Tint the two non-clicked images to a color of around 175 - 200. This will make the clicked image appear bright.
2 - Overlap another button image on the clicked button, and set transparency mode to lighten (will pretty much do what it says)
3 - Lower the alpha on the other two images.
However, it's better to use Kanaru's method, since it's the most accurate.
0
@NobMapster:
Here, take this map, everything works just as intended :)
0
0
0
0
0
0