jass

  1. zhica

    [Solved] Help, Weird loop

    Full A looping Trigger Events Time - Every 0.03 seconds of game time Conditions Actions Custom script: local integer i Custom script: local boolean recycle = false Custom script: call IncreaseArray() Custom script: set i =...
  2. Amigoltu

    [JASS] A mass push ability questions

    Hello. I've gotten into JASS quite recently, and currently, am working on push/knockback abilities. I think, at least, that I've gotten the hang of the ones for single units, but now, I've been trying to create a boss ability, that knocks all the units away from the caster - a mass...
  3. olvenmage

    Code compile errors.

    Hey there everyone, I've been away for 2.5 years or so, and finally found my map back that I had started then. I made a custom race, using a custom build animation, which, at some point in time worked, I remember. But when I loaded up the map and tried it out, I got tons of "Unknown compile...
  4. Borgusul

    [JASS] Recreating Damage Event Trigger

    Hello. I have been meaning to implement a damage detection system in my map that is Hero centric; i.e every player will have 1 Hero, and only damage dealt to the Heroes or their targets will trigger the event. I am not good at Jass Coding or any of the sort, I just use it whenever I need to...
  5. YonatanDS2

    [JASS] JASS AI only works in a standalone map

    hey everyone, im new to AI script creating and i followed several tutorial which seems to have worked for me. the very simple AI i created works fine in a standalone map, however when i try to use it in a campaign map it does not work. cagn anyone identify the problem?(the syntax checker says...
  6. Prometheus3375

    Jass has troubles with reading reals

    I made a test in WarCraft 3 1.26a. I filled 2 arrays of reals with the powers of 2 from 0 to -13. The first array was filled by 'hand', and the values of the second were produced by computation of WarCraft 3. In addition, I put a check if the same powers stored in arrays will differ. This check...
  7. Stormgoddd

    Need help with Jass Script compile Errors

    So iam a noob in Jass/GUI, however i'am starting to get it.. slowly but steadily.. However, now to my question : As a practise I want to make a Chat Message for all Players (in Jass ofc) that shows a result of a math problem. In Pic 1 you can see my script. In Pic 2 u can see the error I get...
  8. MeMeMe123

    Is there a working debug client?

    I am using the SharpCraft extended bundle at the moment. I understand that you can get debug messages within the game while it's running, but the functionality of the debug client seems more appealing to me. Unfortunately it seems to me like that functionality is not available in SharpCraft...
  9. VadamLoke

    Timers and Waits

    Hello Hive I'm struggling to choose timer or wait to implement my solution. I have gone through the forum and read mixed claims about both of them. That they can cause desync themselves(which i doubt), one is more accurate than other and opposite. I don't want to choose one without...
  10. bob666777

    [Solved] Unknown Compile Error with WEX

    Hey there, I'm an old mapmaker who's returning to wc3 after several years and my memory is failing me. Can you not declare globals inside a trigger? I feel like I used to be able to do that, yet I'm getting an "unknown compile error" from it. I also tried putting them in the map header and had...
  11. D

    [JASS] AI script won't run

    Something in this script causes the map not to be able to run it. I've been trying different undead scripts and they seem to be working. I also copied each function from the broken script to the working script one by one, and it worked until I copied the attack waves (possibly looping waves), so...
  12. FireValley

    [Solved] Issue Peon to build at specific location.

    Hello, is there any way that I could use triggers or Jass to issue a worker to build certain buildings at specific locations like X and Y.
  13. Xardian

    Dark Fantasy MP Rogue-Lite recruitment

    Hello fellow Hiveminds, I am looking for some helping hands in my project, working title "The far depths" The game is primarily a dungeon crawler and will feature several Game modes to play in. I am going for a Survival-Horror look and feel, which is going to hammer home the fear and dread that...
  14. Cokemonkey11

    Insights - good architectural control flow

    This is a quick insight post about a topic that came out of my review of Paint Bomb v1.00 . My review notes: And @KILLCIDE is interested in my review in the context of becoming a better programmer. Among my critiques, I consider this the most important point (though possibly not the most...
  15. BeerOnTheBeach

    [JASS] globals block syntax error

    Hiho, I get syntax errors on these lines of simple globals declaration: I know in vanilla editor there can only be one globals block, but I'm using WEX and I thought it somehow merges it to the precompiler. Is there a way I don't have to use the variables-editor from WE? Maybe disabling the...
  16. Mishu

    [Solved] IsUnitType won't recognize hero as a hero?

    Hello, it's me getting stuck again. :/ "Action" won't show up after training a hero, unless i type "not" before the condition, but that just means my heroes aren't seen as heroes for some odd reason. Any ideas why could that be? globals integer array heroLevel endglobals function...
  17. _Guhun_

    GUI-isator Tutorial: Expand the Horizons of GUI

    Introduction Credits to the creator of GUI-sator: rgf Files & Images: Tutorial attachments Many people have used hacked World Editors with custom GUI actions that expand the GUI API and allow GUI coders to have more control over WC3. However, few people know of GUI-isator, a handy tool that...
  18. Super Mario

    Dungeon Keeper 2 for WC3

    Dungeon Keeper 2 a mod for WC3 As a kid, i loved playing DK2. And i still do so. That's why I am curretnly working on a DK2 mod for WC3. And i could need a little help for that :) I already saw some DK2 maps for WC3...but they were not even a bit like the real game. I want to build in as many...
  19. Dark-Zalor

    [vJASS] Problems with angles on sliding system

    I have problems with my sliding system. In this map I got boats. These boats are moving via Triggers. When the owner of the boat click somewhere on the map the boat turn to reach the location. The problem is when I test the map sometiles they're doeing some beautifus angles sometimes they turn...
  20. Duvo

    [JASS] Classes and lists in world editor or Jass?

    Hi, so I have a few questions about the editor I have this map I want to make and it's mainly data driven. I'm stuck at the moment because I really need a class to get what I'm after. when you build a farm, it needs to have a lot of unseen data which can be linked together. for example, a...
  21. pOke

    Timer failing to fire

    Some backstory: I was having an issue with my libraries needing to reference each other. Players select a scenario, a round starts, a round ends, Players select a scenario...etc I was told about saving a code variable at initialization would allow this back and forth to be possible, and it...
  22. HappyTauren

    Detecting both right and left click while using trackables

    I know a lot of people will not use trackables no matter what (and admittedly they do suck), but it is indeed possible to detect both right and left clicks (as well as hovering) using trackables, by also having an invisible destructable that is not targetable by the player, over the trackable...
  23. Bluetime

    [Spell] Health/Mana Regeneration Amplification based on current Health/Mana Regeneration Point

    Hello Guys, How to do amplifying health/mana regeneration based on current health/mana regeneration points by hardcoded or by GUI method? Thanks e.g. 10 health regeneration x 20% regeneration amplification = 12 health regeneration ;)
  24. Freecell

    [Solved] Need help with bugs in spell

    Hi, I recently started working with JASS. I've been practicing making spells, and I have an incomplete spell which I need some help with. In its current iteration, it should: Create the visual effect of Warstomp around caster Launch the caster into the air, then bring them back down Warstomp...
  25. UUcounterspell

    Question hashtables and arrays

    Hello all script writers sorry I'm noob on this topic. I think that hashtables look similar to arrays of arrays (2d arrays) because 2 indexes are used to recover one value, just like column and row number in a paper table, but they have different names and people write that hashtables hold a...
  26. CampScouter

    History of vJASS?

    Well, this section says about trigger or script. I just wanted to know the history of JASS to vJASS. Before I learn vJASS, I want to learn its history first. :)
  27. _Guhun_

    Change Unit Attack-Type, Damage and Range in-game

    So, I was trying to remove locust in-game seamlessly (click and drag select) for my RP map, so I decided to play around with Crow Form. I thought I had everything figured out, but then my units started getting the attack type of the crow form unit, instead of their own attack type. Apparently...
  28. Karpik

    [JASS] Save\load function SaveLoad_EncodeVerify trouble

    I have some problem with save in my map. If i save my hero (and courier) with 10 items in inventory, all right. Else i save my hero (and courier) with 11,12 items i inventory, save\load system not work. Any people say: " problem in function SaveLoad_EncodeVerify" If i save with 10 items, i...
  29. Furry Nova

    [JASS] Getting Correct real Rotation

    I've decided to start making my own spells in JASS. So far I'm creating spawn target points with Polar Offset based from the cast click point. I've followed this guide but it's a little difficult since I'm not very knowledgeable with geometry Math. So I'm taking it one step at a time. This is...
  30. Melvs Grimm

    [Trigger] Ressurection Stone Activation

    Hi so I want to use the resurrection stones in my maps. And I have no idea how to turn it on. I tried using triggers but I was able to resurrect my heroes but at the wrong place. So how to do I do it? Events: A Unit dies Conditions: Dying unit is a hero = true Action: Wait 10 seconds Revive...
  31. TheBigMetalHandInTheSky

    Spell ID's

    How do I get spell ID's for Warcraft III? Looked it up, got no results. I need an ID for my custom Spell (which uses "Channel")
  32. thorlar

    Vision Detection Spell (Stone Gorgon Sight)?

    For my map I am solving one problem after another, but I stumbled upon this. I opened up hive to find help on this, and I did find multiple upon multiple backstab spells/triggers. However, I am terrible at Trigonometry and cannot tweak them enough to get my solution :cry: To start with, there...
  33. Alex_mmm0334

    Opacity of dialog boxes are changeable?

    How can I change opacity of dialog boxes? is it possible? I want to make my in game dialog boxes invisible, however I do not want to disable or remove dialog boxes. what is your suggestion for doing this? Map file and war3map.j file are attached below.
  34. Alex_mmm0334

    [JASS] How can I ad Keyboard Hotkeys to dialog box

    I'm paying a good price to do it for me, [VIA PAYPAL ] I have a map with a dialog box inside. I want to use Keyboard Hotkeys For Example ("Up" then "Down") on key board to active dialog buttons for example "Gold Rate+25%". This map have this ability for activating menu. call...
  35. ArieZ13th

    CreateTrigger() srecific

    Good day! I try to Create Trigger in middle of game but it does not work( I use global variable and function not in librarry (function of action). But it does not helf. How can i create a new trigger in the middle of game? My code: udg_t[1] = CreateTrigger()...
  36. okfinch

    [JASS] About "SyncInteger" Help me !

    I have just learning about "SyncInteger" not for long. Please read code in below... scope Test initializer Init private function Cond takes nothing returns boolean local integer ip0 //= 100 local integer ip1 //= 10 local integer ip2 //= 20 local integer ip7...
  37. Argus

    [Solved] Why does my lightning effect not work in multiplayer?

    This works fine in singleplayer, but the lightning effect doesn't show up in multiplayer. This first trigger creates the effect. function Trig_Skeleton_King_Copy_Actions takes nothing returns nothing // Creating the Normal Wave set udg_Temp_Point = GetRectCenter(gg_rct_StuffSpawnsHere)...
  38. Alex_mmm0334

    jass programmer Needed

    I am searching for a jass programmer. :cexc: To do a small project in Dota 6.85K Map. I'm paying a good price , [VIA PAYPAL ]:cwink: I would be grateful if you could suggest me some one. looking forward to receiving your comment.
  39. thorlar

    [Solved] A way to extract unit-type from given unit?

    So for the last days, I am stuck at this problem. I want to make a JASS function(plz no vJASS) that takes a unit, and returns the raw code of the unit, in unit-type/integer/string form(form doesn't really matter as long it works) I also have an global integer array(easily converted to unit-type...
  40. Nowow

    [Solved] Movement trigger problems

    Hello everyone, I've been scratching my head at this problem for a while: In this paste there's a test map for an AI script and some auxiliary triggers. In the map, blue player is supposed to act in a similar way to Illidan's player in the last TFT mission, i.e. blue player's paladin is going...
  41. Marebre

    [vJASS] Knockback System

    EDIT: I realized I wrote lot more text than decency allows, so, in short: Is there a knockback system that will slide an unit to exact point (i.e. slide exact distance)? Or, how to do math for in this one to achieve just that? I need a knockback system (because I'm rather too lazy to make it...
  42. Regno

    [Solved] (Jass) Silence on AoE - Remove DMG

    Hello, Firstly, here is the Jass code; If I were to remove ''local real dmg='' - the spell itself shouldn't take any damage, right? If not, correct me. Moving on to the REAL hurdle that I have faced for 2 hours straight now and can't seem to just crack this nut - so guidance would be very...
  43. Fintrik

    Save/Load system

    Hello everyone i need a simple save/load system with generator of random codes to save intengers can someone help me with it?
  44. Saito

    Get range of an ability

    Hello there. I just want to ask, if there is a way to get cast range of an ability as a variable either in JASS or GUI(I don't really believe GUI is able to do it, tho). After all in tooltips you do can call the variable which is cast range, or damage dealt. I really appreciate your help!
  45. Marebre

    [General] Screenshot

    Is there a way to take screenshot automatically, perhaps with this? native ForceUIKey takes string key returns nothing
  46. nhattuanbl

    Missile lag, local trigger

    Hi, i love to write all code with jass and i have some problem as title, hope someone can help me solved, thank in advance. - First i have 20 or 30 tower shot at same time, huge damage and fast, it make some lag, can i solved this by change the missile model ? - When do i use local trigger ...
  47. eejin

    [JASS] Looping over players

    Hi, i was wondering why the following snippet doesn't seem to work. I'd expect it to work for all players, but it doesn't seem to do anything. function Trig_Add_Strength_Actions takes nothing returns nothing call DisplayTextToPlayer(Player(0),0,0,"You just pressed ESC") endfunction...
  48. Nowow

    [Solved] function stuck at unknown location

    Hello Hive, I'm trying to create a trigger which decides which player has the most units in 4 regions. So far my trigger looks like this: function Update_COP_Command takes player p, integer i returns nothing if p == Player(PLAYER_NEUTRAL_AGGRESSIVE) then call...
  49. PrinceYaser

    [Trigger] How is this spell?

    Hey, guys! I want to know this spell is good or bad?: EluneBolt Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Elune Bolt Actions Set Targ_Unit = (Target unit of ability being cast) Set Temp_Unit =...
  50. bear_369

    Play Music during Map Selection/Hosting map

    "Play Music during Map Selection/Hosting map" Submitted on: January 31, 2017 Introduction Hello there! In this tutorial, I'm going to show you how to play any music you wanted to play outside your map. There's some minor things you need to know before we're getting starting about this...
Top