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

    allright then, can still save me a lot of time then(I hope, yet to test)
  3. D

    Textmacro variable-issue

    yeah, but then my system would lose it purpose for the major part of my operation/goal in mind
  4. 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$] =...
  5. D

    Textmacro Syntax error

    yeah, I know you can use the CreatNUnitsAtLoc function, but I want to go further with the textmacro, but this is an early-stage test. EDIT: now I get the error: Statement outside of function. EDITEDIT: nevermind, i forgot to delete a line...
  6. 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...
  7. D

    substring question

    yes, it is in the appropriate trigger, and it still doesn't work, but what's worse, a trigger I made(and had some problems with) doesn't work anymore, except if I import the code in a new and clean map. So I'm starting to think that this is about Newgen, instead of me.
  8. 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...
  9. D

    instant kill 15%

    I don't need it, but it's good practice, and maybe even a bit faster, cause if you look at your code, compared to mine, it's got a lot more lines, now doesn't it?? cleeezzz:Yeah, I use Newgen, but I don't seem to get the use using vjass here, i'm not even really good in jass so... but thx...
  10. D

    does this map have potential?

    it does have potential, although there is no challenge at all, you get the tower, can't maze or build extra, and it would s**k to play all by yourself
  11. D

    instant kill 15%

    indeed, the problem was the not capitalized letters
  12. 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...
  13. 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??
  14. D

    keeping track of data

    thx, if I had read the complete manual, I should've known this, Eye-opener. I'll use your code, and start to learn scopes and macro's.
  15. D

    keeping track of data

    yeah, well, string name is supposed to become the name of the struct so that when you enter call add(blah,2,4) the struct used would be test blah=test.create() and the rest ofcourse
  16. D

    keeping track of data

    is it impossible to make a function out of the trigger just created?? function add takes string name, integer x, integer y returns nothing local test name=test.create() set name.a = x set name.b = y set name.sum = name.a + name.b set sum = I2S(name.sum) call...
  17. D

    keeping track of data

    damn, I feel like a complete noob rightnow
  18. D

    keeping track of data

    that did the trick, thx guys EDIT: The map runs now, but it won't show the value stored in sum, or any other string if I try to use another one... Help me plz, growing a bit tired of this.
  19. D

    keeping track of data

    doesn't help, I get a syntax error on the line with test a = test.create() how come??
  20. D

    keeping track of data

    yes, I save before I test.
Top