• 0

    posted a message on Repeating actions or variable across triggers

    @hobbidude: Go

    Oooooh, that is brilliant! :D I thought about using functions, but forgot that you can call them inside of themselves -_- Hard to think i'm a programmer, but hey, everyone has their silly moments :P xD

    Posted in: Triggers
  • 0

    posted a message on Repeating actions or variable across triggers

    Hello everyone.

    So after a while I started creating maps again and I've encountered a silly problem... Basically I have a trigger that is activated by pressing a CTRL button. When it's activated the unit owned by the Triggering player gains additional movement speed. When it's pressed again the movement speed resets. Now that's all working like a charm, but the problem is that while the trigger is active aka while the unit has bonus movement speed it's supposed to decrement a variable.

    My idea was to make a trigger which runs every x seconds decrementing y value from the global variable.

    The problem is that I can't transfer the Triggering player variable to the trigger which decrements the value from the global variable. Both variables are arrays so I need to know which player pressed the button in order to decrement the right value from the variable.

    Any help or just an idea is greatly appreciated :D

    Posted in: Triggers
  • 0

    posted a message on [UI] SC2Layout Files: Override method (Aiurchef method)

    Hi all, does anyone know how to hide a "UnitWireframe"? Here is my code (It doesn't work):

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
        <Frame type="UnitWireframe" name="UnitWireframeTemplate" template="UnitButton/UnitButtonTemplate">
           >Visible val="False" type="Frame"/>
        </Frame>
    </Desc>
    

    EDIT: Nevermind I found the right frame. If anyone want to know:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
          <Frame type="UnitWireframe" name="GameUI/UIContainer/ConsoleUIContainer/InfoPanel/UnitPanel/UnitWireframe" file="GameUI">
            <Visible val="False"/>
        </Frame>
    </Desc>
    
    Posted in: Tutorials
  • 0

    posted a message on [UI] SC2Layout Files: Override method (Aiurchef method)

    Hi, I have a Minimap problem, when I anchor MinimapPanel the Minimap is not completly in the middle but it goes more on bottom/right.

    (My MinimapPanel is in bottom/right corner with little bit of offset.)

    EDIT: (Fixed)

    Posted in: Tutorials
  • 0

    posted a message on [Video] 3rd Person RPG

    Hi ppl i have a question i maded my custom map for 1v1 or 2v2 in which you have a dialog in the begining and i have a problem about making those 3rd person cameras for multiple players, cams messed up. So i maded 2 variables of type 'Unit' No Unit, to be last created unit as u told me Onetwo and i think the problem is that the both Variables are set to 'Last Created Unit' (Picture down below). So what i want and my problem is actualy that after the dialog i want 3rd person camera on that unit but couse both variables are set to last created unit they both follow same unit. Any solutions?

    Posted in: Tutorials
  • 0

    posted a message on [Trigger] Creating Objectives & Transmissions

    I have a little bit of a problem, i created a dialog so when i make Event - "Any Unit Dies" i can't pick a unit couse it's not on a map. can anyone pls help me?

    Posted in: Tutorials
  • 0

    posted a message on Problems with Publishing Mod

    I have maded a new mod and a map, i can run them in 'Test map' and they work fine, but when i try to publish 'em seperatly i get error: document dependency does not specify a battle.net file. So how shoud i publish my mod and then map after if i can't publish mod? Can anyone pls help me? I am making this map so long.

    Posted in: General Chat
  • To post a comment, please or register a new account.