• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

jass

  1. Invisible Pink Unicorn

    [Solved] Issuing an order with no target in jass

    Hello I am currently making a campaign and want to make a unit that has an un-auto-castable Parasite. I wanted to make it impossible to auto-cast the spell with this simple trigger. Events Unit - A unit Is issued an order with no target Conditions (Issued order) Equal...
  2. Drulia

    cJass2Lua - Powerfull cJass converter

    Warcraft III Reforged brought us lua scripting, but still a lot of map makers for WC3 are using cJass. Just because C-style syntax rules. Unfortunately cJass extension is unsupported for Reforged and who knows how it will be. Lua is more efficient, useful and simple for game development. But a...
  3. Peach Schnapps

    [General] Help with more specific Terrain manipulation through JASS/Triggers

    Would it be possible to be more specific in how I want to manipulate terrain than with just regions? I'm really just concerned with changing out tiles, I imagine through JASS this is possible? o_O EDIT: Idk if I'm asking my question specifically enough, say for instance I want the grass...
  4. Avatars Lord

    [General] Environment - Change Terrain Type needs space to work?

    Hello, This function was not working properly and I didn't know why: After doing some tests I have found that it needs a space (or you need to have that terrain type in your tileset already) in your Terrain Tileset in order to work and because I have 16 terrain types in my tileset right now...
  5. Matthew's_warcraft_book

    AND/OR in conditions?

    Hey all, Im just learning jass and am struggling to make a loop work. Im wondering if there can be 2 conditions for exitwhen? using AND, or OR. Example: Function Fxn takes nothing returns nothing local integer a = 1 local integer b = 5 loop exitwhen a == 1 AND b == 1 set b =...
  6. blink

    Just Another Missile System WIP [vJass]

    So I am currently created a missile system which is supposed to help me create missiles for various purposes. The system runs specified trigger on "impact" making it usable for all kind of stuff. For example, the trigger makes the caster teleport on impact location, while having dmg at the same...
  7. Ricola3D

    Main indexers: a snippet for basic cross-compatibility ?

    Hello, I am trying to make a Armor system with a unit indexer as requirement. I need to store the "code armor" value of units whose armor is modified by BlzSetUnitArmor native. Then I use it as input in other pieces of code. I can't use hashtable no ? Because if the handle ID of a removed unit...
  8. AtheosTG

    Does jasshelper now ship with standard warcraft 3?

    I can't seem to be able to remove Jasshelper. I want to use lua and i think JH is giving me trouble. However simply deleting the folder only results in it re-downloading. Anything i should know?
  9. Ricola3D

    JASS - Is there a way to display the call stack ?

    Hello, Is there a way to display the call stack from JASS ? To know what functions/triggers are at the origin of the code execution ? It would be very usefull for desync debugging, if I could print the call stack in my hook functions :)
  10. Henry_AC

    Help import JASS skill

    Hello everyone, someone who can help me on how to import this skill to my map is that it is very different from the others, I think it is because of this JASS or GUII Divine Halo v2.1
  11. lolreported

    [vJASS] Issue with nested loops, possible bug

    I'm currently having a massive issue with a nested loop, see code (some irrelevant code removed): library JustAnotherLibrary initializer Init globals //... private constant integer PLAYER_MAX_CELLS_ROW = 3 // Max cells up/down private constant integer...
  12. Ricola3D

    Known causes of desync

    Introduction Players should be able to differentiate a crash, a player leaving and a player being desynchronized. Desync is the fact that one or more player gets disconnected from a online multiplayer game. It's caused by differences in the game state between the game clients. Below I tried...
  13. Yui Moe

    [Leak] Lua Scripting & Memory Leak

    Hello guys, Since now editor officially support Lua scripting and we all know Lua is a quite common and widely used language, I wonder will it avoid all or part of memory leak problems by using Lua instead of JASS? Actually the biggest blocker prevent me to create custom games is it forced me...
  14. Ricola3D

    Hashtables - GUI vs JASS > parameters reversed ?

    Hello, Sorry if you find it a dummy question: I am currently using hashtable after having read many tutorials. And is it me or in Save/Remove calls, the parameters order is reversed between GUI and JASS ? In particular parent & child keys ? Exemple: From many tutorials I read (unfortunately...
  15. Aleksandr

    [General] Wold Editor team development experience

    Hello everyone. Recently I wanted to do with something using World Editor. Also there were guys who wanted to help me in parallel. But only one person can do some work on the map at the some moment. => we have couple of huge disadvantages: It's not convinient to exchange the map. We need to...
  16. ies

    Need help with trigger in jass

    Hey, I wanted to make emoji system triggered by keypress, map is arena so bound to hero. Here's what I have. /*globals used: emojicharge integer array (index is playerID, supposed to be cooldown, when value isn't 0, player cannot express his awe); Hero unit array (assigned unit for each player...
  17. Duvo

    [JASS] "Added Custom User Interface functions to allow map makers to add, remove, and adjust UI frames"

    (sorry, I posted this to the wrong section earlier) This line from the ptr patch notes particularly took my attention. we've been given the following natives to play with in JASS, but how do we even use them?; constant originframetype ORIGIN_FRAME_GAME_UI =...
  18. Duvo

    "Added Custom User Interface functions to allow map makers to add, remove, and adjust UI frames"

    This line from the ptr patch notes particularly took my attention. we've been given the following natives to play with in JASS, but how do we even use them?; constant originframetype ORIGIN_FRAME_GAME_UI = ConvertOriginFrameType(0) constant originframetype...
  19. loktar

    [Solved] BlzUnitHideAbility sometimes not working

    There's something weird (not) happening. BlzUnitHideAbility and BlzUnitDisableAbility are not working in certain cases. The calls to SetupCtrls in the initializer work as expected. When ButtonControlCndAcn is triggered (SPELL_CAST event) to "OPEN", CTRL_SFX and CTRL_CAM are not hidden as they...
  20. Dream-In-Red

    [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...
  21. InSaNe_97

    [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|...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
  26. 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)...
  27. 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...
  28. rainn

    [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...
  29. _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...
  30. 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...
  31. 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...
  32. 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...
  33. _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...
  34. 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...
  35. 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...
  36. 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...
  37. 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...
  38. 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...
  39. 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...
  40. Brismo

    GUI rework to JASS

    Please close this thread
  41. 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...
  42. 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 =...
  43. 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...
  44. 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...
  45. 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...
  46. 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...
  47. 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...
  48. 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...
  49. 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...
  50. 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...
Top