Search results

  1. C

    Map Protection

    Just to let you know that warcraft maps can hardly be protected. Even if they cannot be opened by editors there are still other ways to extract the data inside the map. However 1 benefit of optimizing the map is the reduced size for quicker download. So don't put too much hope on having your map...
  2. C

    Spell Request: Charm (complicated one)

    I guess you are looking for something similar to DotA's Sand King's Epicenter, in terms of casting? You'll have to use it as a channeling spell instead of casting time. Make a spell with 10 seconds channeling time and 0 casting time, with no effects. Then use trigger to detect the finish...
  3. C

    [HELP] Hero still receives gold when

    Er... Isnt the gold coin item auto-consumed? Like the tomes and stuff? When you pick it up it already give gold and you give it more gold in the trigger?
  4. C

    Minigame Jungle Race 2

    A new version has been uploaded at the first post! The game now has a periodic random event and all units can be selected via the "Idle worker" button now.
  5. C

    Random X,Y(location) in region?

    Well I am currently using the rects, but there are 2 rects that I need to consider. Which is why I tought using regions would be a cleaner way. But anyway thanks for the help.
  6. C

    Random X,Y(location) in region?

    How could I get a random location in a local region? local region r
  7. C

    group problem

    What the above poster said. Plus... I think this line is causing the problems. GetUnitState(u, UNIT_STATE_LIFE) >= 1 You are using it to check whether unit is alive or not right? If I'm not wrong the more accurate way is GetUnitState(u, UNIT_STATE_LIFE) >= 0.405 And you do realize that the...
  8. C

    elune grace

    You can use the original Defend if you want it to do stuff like that. You have to edit the gameplay constant to allow defend to deflect. Default is false, change it to true.
  9. C

    Minigame Jungle Race 2

    Yes the banshee is seriously bugged and I have permanently removed it from the game until I found a way to fix it. I have also fixed a number of bugs found during my beta games. In the next update I'll be including more narrative text to tell players what's going on, and also a periodic random...
  10. C

    Changing Pathing with triggers

    Are you talking about collision size?
  11. C

    Minigame Jungle Race 2

    Er did you even play the game? Its not cars racing around a track =/
  12. C

    Minigame Jungle Race 2

    Thanks for the feedbacks. I'll get in some more stuffs in the next update. Hopefully it'll be better.
  13. C

    Blight Problem.

    You could probably use the jass wiki if you wish to know how to inline BJs or the parameters for the natives. http://wiki.thehelper.net/wc3/jass/common.j/SetBlightLoc
  14. C

    GetPlayers() not working

    Er what if the player left during the loading? It returns -1?
  15. C

    Unit-type

    What do you mean? Grunts and footmen and knights are of the same unit type? That would be impossible. As you are saying it yourself, grunts (is one unit type), footmen (another unit type), and so on. The answer is no. It cannot be done. Perhaps tell us what you want to do with them? There...
  16. C

    K:D chart

    Perhaps you should try it first and post out what you have done so far. That could give people a clearer idea of how to help you. For variables, if you are using it to store kills/deaths (round numbers), use integer. If you want to use it to store all players' kills/deaths, an integer array...
  17. C

    Vision Modifier

    Global spell is either a: 1. Non-triggered spell with 99999 range/aoe. 2. Triggered spell that picks every unit/hero in the map and do whatever effects.
  18. C

    Healing Spell+Heal Message every second

    Most probably because you removed the unit during the loop. call GroupRemoveUnit(g,u) Perhaps put that line inside here. if HolyTimerTime[i] >= 1 then set HolyTimerTime[1] = 0 call GoldText(R2I(udg_TempReal)*20,u) endif
  19. C

    Healing Spell+Heal Message every second

    So I'm not sure what you are trying to do. Periodic healing + text or one time heal + text? loop set u = FirstOfGroup(g) exitwhen u == null if UnitHasBuffBJ(u,'B002')==false then call GroupRemoveUnit(udg_PaladinHolyGroup,u) call...
  20. C

    GetPlayers() not working

    You can and you can't. Variables can only be created at the starting of a function. So all variable declaration must be at the top of the function, before any other things you want to do. local unit u = GetTriggerUnit() //This is fine call SomeFunction() local integer i = 0 //This...
Top