• 0

    posted a message on Problem with gaining heroes behaviour vaule...
    @Ceratul: Environment - Deal damage using Effect on Victim from (Triggering unit) with (Real((Behavior count for player Player, counting Queued Or Better))) extra damage
    Posted in: Triggers
  • 0

    posted a message on Dialog Button's act like checkboxes
    http://developer.nvidia.com/object/photoshop_dds_plugins.html Unfortunately, I couldn't find a tutorial for the plugin. I recommend PMing an expert such as demonette.
    Posted in: Triggers
  • 0

    posted a message on Problem with gaining heroes behaviour vaule...
    Do Damage to Target from Caster with bonus Damage * Real (Count of attribute STR)
    Posted in: Triggers
  • 0

    posted a message on Bank size limit?
    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).
    Posted in: Triggers
  • 0

    posted a message on admin
    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.. -.-
    Posted in: Triggers
  • 0

    posted a message on How to piss people off

    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.

    Posted in: Off-Topic
  • 0

    posted a message on Bank size limit?

    The ones i tested:

    Integer - 1000 +
    Unit - 100 +

    I doubt you'll need more then that saved in a bank file.

    Posted in: Triggers
  • 0

    posted a message on Dialog Button's act like checkboxes

    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.

    Posted in: Triggers
  • 0

    posted a message on Taking Trigger Questions

    @NobMapster:

    Here, take this map, everything works just as intended :)

    Posted in: Triggers
  • 0

    posted a message on Protoss Cannon Pressure AI
    Well, there you have it. You have both the idea and the ability to implement it. Do you want me to give you a code sample or a better method?
    Posted in: Triggers
  • 0

    posted a message on How to make a barracks auto-spawn marines?
    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.
    Posted in: Triggers
  • 0

    posted a message on Dialog Button's act like checkboxes
    @Builder_Bob: I understand your idea.. But, what do you mean by "3 buttons which look like buttons, but should act sort of like checkboxes"?
    Posted in: Triggers
  • 0

    posted a message on Taking Trigger Questions
    @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
    Posted in: Triggers
  • 0

    posted a message on Yet another Chat about TPS/FPS
    Make it Q or E, assuming you're using WASD. T is just out of the way, and it could better be used for "talking".
    Posted in: Triggers
  • 0

    posted a message on Move image to location of mouse.
    Just create a dialog, center image on it, and then center dialog on mouse.
    Posted in: Triggers
  • To post a comment, please or register a new account.