Search results

  1. A

    Remove quantity in purchase unit

    As you all know at the mercenary camp that sell unit The camp will display the quantity available of the unit can be purchase My map this time, the player can buy an infinite number of unit (currently I set the replenish time to 0, and the quantity displayed is 1) But I want to make the...
  2. A

    Dummy Spell

    As you all know in dota, invoker hero that he has 3 instant to cast before invoke a real spell. I try to create something like it. The problem is how to create a dummy spell that wont collide with each other Lets say for an example i use Night elf - Taunt spell I put this 3 spell in the...
  3. A

    Player color

    My game have 2 player. Player 1 : MrX, red color Player 2 : MrY, blue color When player 2 leave the game, there will be a message for all player "MrY left the game" So I want to make the "MrY" to colored This is using JASS so is there a function to create a player color string based...
  4. A

    what is 'Player Group' data type?

    I create a Player Group variable called "MyTeam" using the GUI. Thus this will become udg_MyTeam Then I create a JASS code where I can to set the player alliance Player Group - Make MyTeam treat MyTeam as an Ally with shared vision But I done it using JASS, and the problem is this...
  5. A

    Passing variable to another trigger

    Hi, Im new with JASS and currently learning it I have a problem where I don't know how to pass a variable data from one trigger to another trigger I learn JASS by converting from GUI. Here is the idea: Trigger1 Events Unit - A unit Begins casting an ability Conditions...
  6. A

    Change order icon location

    If you select a footman, you can see the order icon such as Move at position 0, 0 and Stop icon at position 1, 0. My question is, where can I change this icon position such as I want to make Move icon at position 2, 2
  7. A

    Does "Unit Group - Remove" leaks?

    I have been wandering some people use Custom Script - call DestroyGroup( udg_myUnitGroup ) instead of Unit Group - Remove all units from myUnitGroup That have been made by world editor in GUI Does the Unit Group - Remove leaks? What the difference between them? What is leaks by the...
  8. A

    Snippet Building generate gold

    In this Snippet i will show you how to make the building generate a gold or lumber. This snippet is simple and done using GUI. The simplest building income trigger will be : Generate Gold Events Time - Every 10.00 seconds of game time Conditions Actions...
  9. A

    Check building is finished

    I made a periodic event that give a gold when the player have a farm. The problem is even the farm is not finish build the gold is already given Thus, is there any condition to check wether the building is complete? This is my code Generate Gold Events Time - Every 5.00...
  10. A

    Attack within angle

    Problem solve, see below for solution Im using pheonix fire ability I can attack nearby enemy with it But its attack 360 around the caster Can I make the ability or there is a way or any idea To make the ability to attack 180 only? Means the attack is only attack enemy in front of the caster...
  11. A

    Unit Movement - Turn Rate

    I can set my Unit Movement - Turn Rate ranging from 0.1 until 3.0 What actually this value mean and does for? Is it turning 3 degree for 1 second?
  12. A

    Slide had pause my unit

    Hi I want to make my unit sliding on ice I make every 0.04 seconds, the unit will move in front of it This work nicely and have no problem at all. My problem rite now is the unit have an ability Thunder Clap When I try to cast it, the unit will not cast it. This is maybe because of the rapid...
  13. A

    Key even hold

    I wan to make a trigger When I press up arrow key and hold The game will create a game massage to player 1 "Up arrow is pressed" And this message will continue as long as I keep holding the key I saw there is key even press and release in trigger But i didnt see key even hold Can any1...
  14. A

    RPG RPG Mercenary

    Im bad in english, try to make this as short and simple as possible RPG Mercenary Thinking of it to be "The Mercenary" or "The Guild" but then people wont know that this is actually RPG game. Overview This game is about you, the player as a guild manager that recruit member, take any quest and...
Top