Search results

  1. C

    Pass a variable by static value

    function ItemRecipe_2items_Conditions takes nothing returns boolean local integer asdf set asdf = udg_ItemRecipe_Counter if ( (UnitHasItemOfTypeBJ(GetTriggerUnit(), LoadInteger(udg_ItemRecipe, udg_ItemRecipe_ParentKey[asdf], 1)) == true) and (UnitHasItemOfTypeBJ(GetTriggerUnit()...
  2. C

    A question on Trigger Creation

    I'm not particularly sure if what I am trying to do is legal within JASS, but the compiler and any syntax checker I am using is basically saying there is an error without describing it. The basic questions is it possible to pass parameters for the Condition and Action portion of a trigger...
  3. C

    Some questions pertaining to JASS and vJASS

    I have recently continued work on a few of the maps that I was making but hadn't quite finished. And this time I around I wish to use JASS or vJASS. 1. Is it correct in saying that anything other than the base native types will produce some form of leak and need to be destroyed after being...
  4. C

    Image to Warcraft 3 Terrain

    A friend of mine has decided to start developing a warcraft 3 map of his own, and I recalled seeing an image to terrain tool. If anyone knows the name, and where to find the tool it would be greatly appreciated.
  5. C

    JASS vs vJASS

    Can anyone point me to some decent documentation on vJASS and what it brings to the table as opposed to regular JASS? I've read through most of the sourgeforge for JASS, but have found that most people aren't using it when it comes to creating different systems and tutorials.
  6. C

    Detecting Waygate ability

    I have been trying for the past half an hour to figure out exactly how to find a way to detect when a waygate is used. Can anyone tell me a way to do this? Do not post about anything about when a unit enters region you will be wasting your time, as I will ignore the post.
  7. C

    Preventing a Cancel

    Would there be any adverse affects of eliminating a unit's ability to cancel an action such as training a unit or researching an upgrade. If there aren't any problems I would also like to know how to do so.
  8. C

    RemoveUnit()

    I plan on using this on a unit that is pre-existing on the map. I know how it functions in the GUI, I am just curious as how to define a unit variable that would be akin to UnitName 0011 <gen> manually, and where this would be stored in the map.
  9. C

    Question on Convert to Custom Text

    What exactly does this do to a map internally? I've tried typing functions exactly as they would appear if you would convert to text just for them not to work. Then after creating a trigger in the GUI and then converting it to custom text it would work with no problem. The Specific thing I...
  10. C

    Locals

    In interest of making the most efficient code possible, I am wondering if locals should be set always be set to null after the function has run. I am going to assume this would be the same as destroying a global. If there is a specific function that needs to be called to destroy locals properly...
  11. C

    Waygate Detection

    Just wondering if there is an event or JASS function that detects when a waygate is used.
  12. C

    Questions about JASS

    I understand most of the language already, just from knowing general programming knowledge and how Warcraft III GUI functions. I am just wondering if someone could answer a few questions I have about how JASS is implemented into Warcraft III. 1. If I create a trigger of my own functions will...
  13. C

    Syntax Highlighting

    Is there any way to set world editor to highlight the syntax of JASS like with the way thehelper.net handles the JASS tags?
  14. C

    Memory Leaks / Map Exploit (Think Blizzard will fix both?)

    I'm not sure how many people are aware of this, but there is a massive exploit in the current version of warcraft III. It allows foreign code to be run on your computer. I would advise against playing maps that you don't already have downloaded. I am just curious if anyone who is really good...
  15. C

    Spellbook Issues

    I would like to be able to add spells to a spellbook after the game has started due to the fact that more than 12 spells are available at any given point in the game. As well as a way to remove them. This post Click Here claims that it is in fact possible to add them with triggers. So if...
  16. C

    Spellbook Question

    What action do I use to specifically add abilities to the spellbook in an ordered fashion, I've seen it mentioned. Though never seen any insight as to how to place the ability into a preplaced spellbook. I'm not sure if this would even be in the GUI, if it is a called function that is fine as...
  17. C

    Item Purchased / Shop Sharing

    When using this ability I have the slight problem of detecting when the shop sells the item. As for specifics, the only thing that I wished to achieve by using the Shop Sharing was so that enemy units would not be able to purchase the items while in an opponents base. Then while this is active...
  18. C

    DestroyTrigger()

    Can any give the syntax to use this command, I have searched around but haven't found anything concrete except for throwing in another function within it such as in tutorials. I wish to destroy other triggers with lines of code, as opposed to the one that just finished running. call...
  19. C

    Dummy Unit

    Does anyone have a nice minimal Dummy.mdx? Hopefully you have one with only an origin attachment point on it. I haven't really needed any dummy spell casts up until recently, and thought the spells would add a bit more fun to the map, since you can only do so much with default warcraft 3...
  20. C

    Waygate Neutral Icons

    It has been a while since I've dealt with waygates, does anyone have some insight on this problem. Despite telling the game that display neutral icon set to false, it still gives the neutral icon on waygate locations. I hope someone has a quick fix. This is for the icon on the minimap.
Top