Search results

  1. D

    shockwave autocast

    Hi all, long time no c. little question, is it possible for shockwave to be autocasted? It's for a tower defense, and doesn't need an on/off toggle. yours truly, for ever and beyond, Me
  2. D

    Textmacro variable-issue

    Is it in any way possible to get a variable in a textmacro so that it doesn't give the name of the variable but from what is assigned to it?? this is my code: //! textmacro RegionPoint takes ORDERSTR,COLORSTR,AMOUNTINT,AMOUNTSTR set $COLORSTR$Regions[$AMOUNTINT$] =...
  3. D

    Textmacro Syntax error

    Trying something new, and it is already a pain in the a**(can't say that, can I) here is my code, all of the code that has got only the slightest contact with it. //! textmacro NUnitAtLocFunc takes INSTANCE, AMOUNT, IntID, PLAYER function NUAL$INSTANCE$ takes nothing returns nothing...
  4. D

    substring question

    Hi, yet another question. I've got some code, tested it on a blanc map and there it worked. then I tried it on a map with a few of my tests and guess what... it soesn't work anymore, the problem is, it's probably just a stupid mistake. here's the code. It's supposed to create a footman when...
  5. D

    instant kill 15%

    Could someone plz tell me why this doesn't work? function Trig_soulsteal_Actions takes nothing returns nothing //not when attacked unit is granite golem if(GetUnitTypeId(GetAttackedUnitBJ()) == 'nggr') then call DoNothing() else //only when unit...
  6. D

    Instant Kill Bash

    Hi, what condition/action should be used to detect the using of a passive ability like bash to get the Instant Kill effect??
  7. D

    keeping track of data

    is it possible to keep track of an amount of data per unit without having to create a sh**load of variables, if so, how plz... I think it has something to do with structs, but for some reason, everytime I try to use them, the game doesn't start, so if someone would post an examlory code from...
  8. D

    some problems

    Hi, I'll use this thread as a personal question thread, so I don't start threads for every question. You'll probably get a lot of noob questions from me, but I'm here to learn.. First one up: can you put if's in a loop, if so, what would be a base code?? EDIT: nevermind this, just made the...
  9. D

    Ability Problem

    Hi, Is there an ability to: increase armor % increase move-speed % increase damage % increase hitpoints % I will look for myself, but if any of you know of it, or the trigger equivalent, I'd be really gratefull. Yours sincerely, Doin.
  10. D

    Keyboard Question

    Hi all, I'm wondering, is it possible to trigger the hotkey used for a unit, or isn't it. If you can't that's not terrible, but it would be usefull so that anyone can use the same key-locations(azer <> qwer). thx anyways.
  11. D

    Item ability restriction

    Hi, You can standard give only 4 abilities to an Item, is there a way to make more without using triggers? thx in advance
  12. D

    td/leaderboard problem

    I've got a problem with my td. I want to substract lives from the total of 25 lives every time a unit enters a region. I've got the leaderboard working, but i don't know how to substract. In other words: When unit from player grey enters end region red: substract 1 from total lives.
Top