• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

jass

  1. D

    [JASS] DoTransmissionBasicsXYBJ, SetCinematicScene

    So, what i need to do: 1) Play specific unit portrait; 2) Play specific sound; 3) Ping on minimap where specific unit is located; 4) There must be no text on screen when i do this. Before current patch of war3, i used DoTransmissionBasicsXYBJ (or just default gui), and it worked. Now, it parses...
  2. Алексић Владица.

    [General] JASS, I need help for simple AI.

    Greetings. I am learning JASS so I need a bit of help. I am asking public to make Me a simple AI in JASS. That way I will be able to much easier understand things and finish My map. AI: 1. B and A in 180 r. while B is running "2" |then| Order B to attack A for 2s *. 2. B and C in 140 r. |then|...
  3. loktar

    [Solved] Weird R2I() behaviour

    Could someone explain this to me? set udg_PatrolSystemState = 1.1 call BJDebugMsg(R2S(udg_PatrolSystemState)) // 1.100 set udg_PatrolSystemState = udg_PatrolSystemState-0.1 call BJDebugMsg(R2S(udg_PatrolSystemState*10)) // 10.000 call...
  4. blink

    [JASS] Can this code be further optimized?

    Warcraft 3 modding community led me to take Computer Science course and I am really thankful for it. I was like 11 or 12 when I created my first spell and posted it on here (dont look it up, its really bad) and now I'm back for reforged. I'm using Jass now and created a physics and missile...
  5. Bombriick

    [JASS] Help with AOE Spell Trigger

    I'm working on a spell based on flame strike , but it doesn't work for some reason , as you can tell the spell is supposed to do damage to units in target area ONCE, I chose flame strike as a base because of the spell aoe effect since I tried it with channel and it didn't work. Please Help...
  6. Bombriick

    [JASS] code after endloop not functioning

    The following code is not working for some reason after endloop, what's is wrong here? set udg_counterab = 0 call BJDebugMsg("test") call DestroyGroup(ug) function aa takes nothing returns boolean if (IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetTriggerUnit())) == TRUE) then...
  7. rufreakde

    [General] handle type is pointerlike?

    Hey Guys, I found out that the "handle" type is the parent type of the variables you define in the Trigger Editor GUI. JASS Manual: Types It is also some kind of "pointer". So I thought nice gonna use it like in C++ then: Defined a variable with type ability (derived from: <-agent<-handle)...
  8. Bombriick

    [Trigger] Spell Target Trigger not working

    Hey , I'm new to jass and still learning , I could make some triggers but this one is not working for me, We have two groups of units , each group belongs to an player enemy to the other , the goal is that a random dragonhawk unit in the player (0) group will leash a random unit from the other...
  9. injuly

    [JASS] Is learning JASS still worthwhile ?

    Sorry if im asking at the wrong place. I know WC3 had a thriving community a few years back , are there any useful guides and resources to learn and start a project and hope to have people who play/test it? I do know basic JAVA so maybe the entry barrier isn't that high (I hope). But I'm not...
  10. _lycan

    [Trigger] Trigger to remove from the game a hero who dies

    The trick part is that some heroes have abilities based on tauren chieftain's revive, so I can't just remove a hero once he dies, he needs to be "revivable" (meaning that when he died he wasn't on CD) I tried doing this But it doesn't work, the hero is still revivable. Anyone knows how to...
  11. Overfrost

    [GvJ] GUIvJASS Basics

    GUIvJASS Basics ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ PrefaceGUI is nice to see and manage, but it's slower than JASS as everyone already knows. But having every single trigger written in JASS can cause creeping headaches for some. So, why not use them together? GUI's LimitsWe know that JASS can do all...
  12. DarkIllidan

    Dday Judgment 19.9b won't work.

    Hello i have been reading about why older maps dont work on newest patches and it seems there are few bugs that can cause this and one of them is the return BUG that i cant seem to figure out. I'm not that much in Jass im just trying to make this old map playable in that state that it is. Make...
  13. SoooK

    Check for players screen resolution/aspect ratio

    Is it possible to get the screen resolution or aspect ratio of a player via GUI or jass? I want to assign different cameras to players, based on their screen resolution/aspect ratio. Some video settings cut off vital parts of the screen, if all player are using the same camera. Or is there...
  14. _lycan

    [General] Trigger to revive only trees on the map (globally)

    I need a very specific trigger, I found examples in both GUI and Jass which revives trees in the map every X seconds (however most use wait and I believe that wait isn't recommended, right?) Alright so: The trigger consists on reviving every single tree on the map that has been destroyed every...
  15. Frotty

    Best of the Wurst 9

    In the last couple of months, we have reached over 100 stars on GitHub, updated our homepage, and as usual caught up with support for Warcraft 3 patches 1.30.2 and beyond. Tool updates The wurst family of tools now supports the latest battle.net stable patch (1.30.2). The wurst language was...
  16. Dickie

    World Editor Trigger editor IDE

    Im a c++ developer and am trying to help a friend work on a wc3 custom map. I am new to jass but I saw that the 1.30.2 update made vjass and jasshelper included in the world editor. from what I have read as of the 1.30.2 update TESH and other helpers no longer work on the world editor. My...
  17. Poruft

    Desync Safety of BlzSetAbility..() functions

    Does anyone know if things like if (GetLocalPlayer() == p) BlzSetAbilityIcon(abilId,icon) BlzSetAbilityExtendedTooltip(abilId, tooltipExtended, 1) BlzSetAbilityTooltip(abilId, tooltip, 1) will cause desyncs? I'm interested in changing ability icons/text for different players, but I...
  18. redscores

    [Wurst] Problem with getting WurstScript to run

    Hello dear Hiveworkshop Programmers, I am currently getting into Mapmaking again and I am confronting myself with WurstScript. I installed JRE. Then installed VS Code and installed the WurstScript Plugin. Then I proceeded to start the "WurstInstaller" and set the paths correctly to my...
  19. Wayshan

    [AI] Unit names in Jass AI

    Hey, so I am trying to get my campaign AI working via JASS and I am stuck at one thing - I understand the code and what it does, but I don't know how to get the unit's names. F.e. call SetBuildUnit ( 1, DRUID_CLAW ) It is DRUID_CLAW instead of DRUID_OF_THE_CLAW obviously and I figured out...
  20. ShaDowPoWeR

    [JASS] Fading Floating texts

    I made a shield skill that blocks x damage and shows with a floating text the % of the shield above the unit then disappears in the span of 2 seconds (until the unit is attacked or the shield skill is casted again), it works well for the most part, the problem is that I don't know how to tell...
  21. Brismo

    GUI rework to JASS

    Please close this thread
  22. Amigoltu

    [JASS] Cinematic BJ function

    Greetings. Well, I want to make a cinematic for my map, and I came across a function CinematicModeExBJ and looking at it, I don't even really know how to optimize it. It's a surprisingly good BJ function, as far as I have seen them: function CinematicModeExBJ takes boolean cineMode, force...
  23. 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 =...
  24. 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...
  25. 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...
  26. 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...
  27. 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...
  28. 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...
  29. 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...
  30. 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...
  31. 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...
  32. 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...
  33. 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...
  34. 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.
  35. 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...
  36. 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...
  37. 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...
  38. 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...
  39. _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...
  40. 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...
  41. 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...
  42. 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...
  43. 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...
  44. 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...
  45. 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 ;)
  46. 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...
  47. 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...
  48. 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. :)
  49. _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...
  50. 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...
Back
Top