• 0

    posted a message on Press any key to continue.

    Map developers, please stop using this method for the loading screen.

    1) The player does not know how long to wait.

    2) AFK Players who do not press a key to continue stalls the game for active players and the only way out is to exit starcraft

    3) There are players who deliberately leave key unpressed to ruin the game

    Posted in: Miscellaneous Development
  • 0

    posted a message on Help with rotation movement

    The function returns an angle based on the key pressed so I'm using it to return the angle of the unit at any given time during it's rotation while a key is pressed. So A button would return (UnitFacing + 2) and D button would return (UnitFacing - 2)

    Posted in: Galaxy Scripting
  • 0

    posted a message on Unit Measurements

    Ah I got it, thanks.

    Posted in: Data
  • 0

    posted a message on Unit Measurements

    Hello all, just a quick question.

    If the Movement of a unit is 3.0, what does this translate to on the terrain?

    Also what is the unit of measurement for radius?

    Posted in: Data
  • 0

    posted a message on Help with rotation movement

    Hello everyone, I'm kind of new to programming and new to Galaxy scripting so bare with me if the solution seems obvious.

    I'm trying to rotate a unit (Hellion) and have it move in the direction it's facing by modifying certain functions in rrowland's WASD library (thank you rrowland :) ) however there is a bug that I just can't figure out.

    Code Snippet

    My modifications:

    lv_tempAngle = UnitGetFacing (libWASD_gv_controlledUnits[lp_player]);

    return lv_tempAngle;

    Function: getWASDAngle

    lv_tempBits = libWASD_gv_wASDState[lp_player]&0x0001;
    lv_tempAngle = UnitGetFacing (libWASD_gv_controlledUnits[lp_player]);
    if(lv_tempBits == 0x0001) {
    	lv_tempBits = libWASD_gv_wASDState[lp_player]&0x1010;
    	if(lv_tempBits == 0x0000)      { return lv_tempAngle; }   // W
    

    From what I understand; lets say the unit (Hellion) is facing 90 degrees, the code should return 90 degrees and move the unit in that direction when I press 'W'.

    What actually happens is the Hellion continuously rotates counterclockwise on the spot. I think I'm missing some key information but it doesn't make any sense. But at least it's rotating :3

    Posted in: Galaxy Scripting
  • 0

    posted a message on Modifying the global time scale

    Could Set Game Speed be what you're looking for?

    Posted in: Galaxy Scripting
  • 0

    posted a message on Help with setting Unit Property (Life Armor)

    Sadly catalog value only takes string inputs so it doesn't work for Life Armor value :(@Atl0s: Go

    Posted in: Triggers
  • 0

    posted a message on Help with setting Unit Property (Life Armor)

    Hello everyone. I've been trying to find a way to set the life armor of a specific unit through the trigger editor. I've checked the presets under Set Unit Property and it has Life and Maximum Life, but not life armor. Any ideas?

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