• 0

    posted a message on Adding Wc3 style item descrptions

    @RileyStarcraft: Go

    Thanks a lot!

    Posted in: Data
  • 0

    posted a message on Adding Wc3 style item descrptions

    Let's hope I have more luck with this one.

    Currently the item tooltip appears if you mouse over the wireframe. How is it possible to add some text here:

    Item

    Any tip is welcome. Thank you.

    Posted in: Data
  • 0

    posted a message on Stopping doodad animation

    Bump?

    Posted in: Triggers
  • 0

    posted a message on Stopping doodad animation

    Anyone?

    Posted in: Triggers
  • 0

    posted a message on Stopping doodad animation

    I would want the specific doodad (Lava Flare) to not play any animation until I call the Play Animation on Doodad. I just can't seem to make it work right. Any help, please?

    Posted in: Triggers
  • 0

    posted a message on Unit variables not working

    I made a Map initialization trigger where I create a Zealot for every active player and inside that loop I mark my global variable PlayerUnit[Picked Player]. After that I have a trigger that if a unit in that array is given an order (PlayerUnit[1], PlayerUnit[2], etc.) then display a text.

    The problem is that any unit that is given an order will make that message appear.

    Does it have to do with constants in events and if so how to make it work?

    Posted in: Triggers
  • 0

    posted a message on Can't delete certain entries

    I created some duplicates of Protoss Weapon Upgrades and then deleted the unit they were attached to and now I can't delete them. If I simply click them the editor freezes and crashes. Any suggestions?

    Posted in: Data
  • 0

    posted a message on Two nested while loops

    @RileyStarcraft: Go

    THANK YOU! Sheees, go go for loops (actually gogo writing, have to learn Galaxy). I feel so stupid, 5 years programming and I fail at a thing like this.....

    Posted in: Triggers
  • 0

    posted a message on Two nested while loops

    Can someone please tell me why I keep obtaining only one column of eggs instead of a polygon 10x12. Thank you.

    //--------------------------------------------------------------------------------------------------
    // Trigger: InitEggField
    //--------------------------------------------------------------------------------------------------
    bool gt_InitEggField_Func (bool testConds, bool runActions) {
        // Variable Declarations
        fixed lv_i;
        fixed lv_j;
    
        // Variable Initialization
        lv_i = 34.5;
        lv_j = 220.5;
    
        // Actions
        if (!runActions) {
            return true;
        }
    
        while ((lv_i < 46.5)) {
            while ((lv_j < 230.5)) {
                libNtve_gf_CreateUnitsWithDefaultFacing(1, "Egg", 0, 1, Point(lv_i, lv_j));
                lv_j = (lv_j + 1.0);
            }
            lv_i = (lv_i + 1.0);
           
        }
        return true;
    }
    
    //--------------------------------------------------------------------------------------------------
    void gt_InitEggField_Init () {
        gt_InitEggField = TriggerCreate("gt_InitEggField_Func");
        TriggerAddEventMapInit(gt_InitEggField);
    }
    
    Posted in: Triggers
  • To post a comment, please or register a new account.