Recent content by Matrixboy

  1. M

    native for select player single?

    A non-native is just a function that goes about calling a few other natives. So, in our case, when you type call SelectUnitForPlayerSingle(u,p) It's BASICALLY (no one with experience hark me down for this, I'm trying to explain it in non-technical, albeit technically wrong words) is "the line...
  2. M

    native for select player single?

    != native. You give it a unit, and you give it a player. The player you choose will then select that unit. call SelectUnitForPlayerSingle(u,p) where unit is the unit you want, and p is the player you want to select the unit.
  3. M

    Another Jass Question

    Yes, it will mess it up-- but it will not pass the syntax checker. It'll give you an error with a line. You'll notice your mistake (hopefully, or you'll start disecting your crazy inlining code you were just working on) and throw in the right parenthesis where it belongs. Well, that's one...
  4. M

    Conditions vs. Action-ifs

    Ah, I get it. So it doesn't think of running any actions! Thank you for the explination. And I'll then take a look at KeyTimers 2. I've been using TimerUtils for a while, but only because it was the first name I heard. I'll see whatever works better for me. Thanks :D
  5. M

    Conditions vs. Action-ifs

    *smacks forehead* I forgot about doing it that method, just connecting them together. Same, I would always try and subtract the amount of function calls, despite code un-pretiness (why should it be easy to read if it's called code? :P) Am aware of not being able to use waits, but...
  6. M

    Conditions vs. Action-ifs

    I'm sorry, I scoured the forums for the last twenty minutes (searching the word 'condition' gives quite a lot of solutions, believe it or not. =P), and was unable to find the answer to this. I may have overlooked it, or searched incorrectly, but... :/ Well, I've always been curious. I...
  7. M

    TriggerSleepAction() breaking Filter()?

    Thank you for all of your help! It works perfect now, thank you. The .execute, that is working with it-as an object, correct? I was reading through the vjass manual, but most of it went right over my head. I never even noticed anything similar to what it said, and how you explained it. (I...
  8. M

    TriggerSleepAction() breaking Filter()?

    Eek! Thank you for pointing that out. I did have TriggerSleepAction() in the function remove, however I posted the code I was testing (to see if it would work without it). And thank you for explaining that it wouldn't work within Filter. That must have been why it wasn't working. Do you know...
  9. M

    TriggerSleepAction() breaking Filter()?

    Hey there everyone! I'm working on this one code, that would round up all the units owned by a single, and to kill them. This will be used when people leave, are kicked, etc. etc. I also have it running at Initialization, in-case slots aren't open. I have it display text that the player...
  10. M

    Kill units in a group effeciently

    Sounds a good enough reason to switch :) Thanks for all of your help azlier.
  11. M

    Kill units in a group effeciently

    I have a copy of newgen open right now, studying the differences. I also have the vjass reference manual opened up for a little reading material. However, you state that udg_variables are bad. I completely agree, however how is the newgen method of globals any better? From what I can tell...
  12. M

    Kill units in a group effeciently

    Hello there everyone. I used to be quite adept at JASS, and left a while ago. I am taking up a new map project now, however. Trying to get back in the groove, I started with something really simple. A "if the player slot wasn't filled, remove their hero." I did a long line of if statements...
  13. M

    Real JASS function?

    So, there would be no way to accomplish this, for the exception of a really long trigger, that saves all the stats/spells, saves that character to game cache, creates a new unit of the same type (as the target), and add stats to that?...
  14. M

    Real JASS function?

    I was learning slight C++ before, however I didn't get very far into it. I could actually do that? I didn't know that :\ Thanks! I may do that if I ever get back into learning C++.
  15. M

    Real JASS function?

    Darn, so the only theoretical way to do this then would be to store all of the stats in a variable, keep the spells, and replace units? (Or something similar... I just jotted this down quickly). Thanks for the help.
Top