• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

jass

  1. ComeWithMe

    Finding address offsets for Warcraft 3 1.27b

    Hi there, My idea is just to modify old Dota Allstars 6.83d map and inject a kind of anti map hack system inside it. There is a lot of source code of map hacks for 1.26 version of the game, where we can see what offsets are changed and that's why this hack works. But there are no free...
  2. Death Adder

    [Solved] syntax error, unexpected: "takes"

    For some reason I keep getting an error with this function below, specifically Syntax Error, unexpected: "takes" on this line function Demonic_Flames_Targets_Filter takes nothing returns boolean function Demonic_Flames_Targets_Filter takes nothing returns boolean local unit u =...
  3. Death Adder

    [Solved] syntax highlighting and function list for 1.30 or 1.31

    Is there anything like JNGP for warcraft 3 patch 1.30+ ? (I don't use reforged but if there's one for that then feel free to mention it as well) When mapmaking I still use 1.27 just for JNGP, but I want to be able to use the new natives...
  4. Cheshire

    [JASS] jass trigger not working

    hey, this is my first trigger in jass. it doesn't have any traceback malfunctions, but for some reason it just does absolutely nothing in game. what did I do wrong here? function taken_conditions takes nothing returns boolean if (GetManipulatedItem() == udg_Bait ) then call...
  5. Cheshire

    [General] jass - baby steps

    hey there, I'm starting to learn jass and just had a small question (couldn't find the answer with searching or in the tutorials...) - In terms of calling functions - what is the relationship between the different tabs in the trigger editor? is it accurate that it's all like one long document...
  6. Millegz

    Buy Item Fast

    Hi, have any idea to make buy item fast like DotA RGC map or IiCup map ? I see it's useful, anyone can help me? thank!
  7. OverClocked

    [Solved] Increase the size of icons in multiboards?

    Do you guys know if its possible to increase the size of icons in multiboards because 16x16 seems a bit too small for me. Maybe there's a jass function that can do that or maybe you can change that in the gameplay constants?
  8. DoomBlade

    [Solved] Damage Engine script error in latest reforged version on all maps

    Hello, Damage Engine Damage Engine 5.7.1.2 by Bribe, stopped working on all maps for me. 1) I opened the damage engine demo map and tried to save it, it says script error. 2) I have the exact same damage engine on two of my projects, tried to save them, same script error. It worked as of...
  9. tense_9000

    Opening and saving map in editor (no changes) breaks map

    Hi folks. I am totally new at the world editor, but also only want to do a very simple thing, which I hope you can help me with. I've obtained an unprotected version of legion td 3.41 from here Legion TD Mega 3.5 (B4) + 3.41 unprotect I want to make a slight edit in the editor and then save...
  10. HerlySQR

    Can you give a simple explain of how works timers in Jass?

    I looked for tutorials, but they don't solve all my doubts, so I'm here to ask you.
  11. J2Krauser

    JassHelper and Modulo Operator

    Hi. Is there any way to make JassHelper shut up about it? I'm aware it's been added to pJass way back now, and I'm using the newest version, but when JassHelper runs in WE, it still throws a syntax error since it doesn't recognize the % operator added in 1.29.
  12. HerlySQR

    [General] Is it ok this function? 2

    I create this function in Jass to the units keeping attacking to a point even if they stop in some moment, but it doesn't work, what is happening? function UnitsCond takes nothing returns boolean local unit u=GetFilterUnit() if GetUnitTypeId(u)=='ndrl' then set u=null...
  13. Peach Schnapps

    Set a variable, to another variable based off a Unit Indexer's given variable?

    So what I've done (this may be the issue, maybe I'm trying to cut a corner here where I need a hashtable?) Is set variables as "stats" for units, using Bribe's Unit Indexer, as sort of a shortcut to an MUI system? Hero Group Events Game - UnitIndexEvent becomes Equal to 1.00...
  14. HerlySQR

    Problem with local variables

    I wanna create more than 1 local variables in the same lane, but I don't get how, can you help me?
  15. LittleBoy

    [Trigger] Set Ability Field nothing happened

    Hello everyone, sorry in advance if my english is not good, because I can not speak english (currently I use google translate). I am a new member here, I just want to ask, why when I change the ability field in the trigger editor nothing happens or am I wrong? what I make now is : Ability - Set...
  16. Stormgoddd

    Looking for a Jass Teacher

    Is there someone who would be willing to teach (or lets say help me) learn jass/vjass? I was thinking about starting with Jass first, then gradually go over to vjass and learn how to do things with structs and in the end perhaps even use Lua/Typescript. I'm at a point, where I know basic jass...
  17. jonhysone

    Looking for a similar function of JASS in Python

    Hey guys, I've recently been interested in learning Python, and even got a paid course for it from Udemy, and it's been great so far, I noticed there are so many similarities between JASS Syntax and Python, and I'd not be surprised if that were the case for any other programming language out...
  18. ElderTreant

    [JASS] How to get location of ally's army

    Hi guys, I'm going to make AI stick together by lead them to other ally's army. I have made every unit of AI follow their army or their heroes. It worked pretty good. set u = FirstOfGroup(g) ...... // Follow their army call IssuePointOrder(u, "move", GetLocationX(army_loc[main_army])...
  19. HerlySQR

    [General] Is it ok this function?

    I created a function in JASS to destroy the last played sound when it finished, but when I called it the game doesn't recognize it, what I'm doing bad?, and by the way tell me if the function is good or there are better options. function dlps takes nothing returns nothing local sound s...
  20. MoltoxBrutox

    [JASS] Recursive data structure and max struct number

    Hello, I am trying to implement a quad tree data structure in JASS, but am facing the problem that there is a max amount of struct instances for a map (like a bit more than 8000 if I remember well and if it has not evolved). I was thinking about using nested hashtables instead of using...
  21. HerlySQR

    [General] I'm begining using JASS but...

    I tried this thing of creating a functions, but always I get Syntax errors, and the tutorials of this forum don't say why? What am I doing bad? (Pls don't ask me why am I using the old Jass New Gen)
  22. Ricola3D

    Write in local file: how to append a line ?

    Hello, I know well that you can write text to a local file with the following primitives: call PreloadGenClear() // Optional, clear all previous entries in PreloadGen buffer call PreloadGenStart() // Clears the buffer and starts a timer until PreloadGenEnd, the time value gets...
  23. Stormgoddd

    [JASS] Need help with my Camera Trigger

    So, I'm new to Jass, read quite a few tutorials and feel pretty sure about the basics so far. With my current knowledge, I'm trying to create a camera trigger. That trigger is supposed to zoom out the camera of the player (should work for every player) if they type in "-+500" (without the "")...
  24. HerlySQR

    How works GetLocalPlayer?

    I wanna know how works the function GetLocalPlayer, because I heard that function takes the player that runs the trigger, but I proof it but always takes me incluiding if I use bots, so if you wanna explain me how really works a gonna thank you because maybe that thing happened because it takes...
  25. ravellani

    [General] A few questions about Codeless Save Load

    I am planning to use the Codeless Save Load system in the future and I had a few questions. I have not really experimented with it yet. 1. I have seen the basic example map that the system comes with and I dont know how the save trigger chooses the players hero? Is that function somewhere in...
  26. LoryGundevil

    Ability Attack Effect

    Hello. i'm in need of help because i've made an Hero Ability based on the Sweeping Cleave (i'm not sure about the name of the ablity, my Editor is half in my mother language and half in English making me don't understand a ****) of the Pit Lord, it should be the passive ability that makes you...
  27. InsaneMonster

    Custom AI Script (JASS) Share

    Hi all fellow coders! I want to share an AI script (JASS) which I made for my current project, which you can find on my signature. The script is used on the second map for the Alliance Naval Base forces. Why could it be interesting? I add a behaviour to command the AI to stop producing a...
  28. Macadamia

    ...then I found the automatic JASS to LUA converter.

    Hello there ! As some of you already know, especially as I often come here to ask for help when I am hitting difficulties, I am currently converting my map from Jass2 to Lua. I have gone quite far, and only a few functions remain problematic, not mentioning the upcoming hidden bugs I have not...
  29. IdeaWang

    [Trigger] Specific Unit Event help

    I've registered EVENT_UNIT_SELECTED on the trigger, and how to get the selecting/clicking player? I've already known that GetTrigerredUnit() to get the selected unit. I've tried GetTriggerPlayer() but the result is not right... Here is the code function myaction takes nothing returns nothing...
  30. Macadamia

    First attempt at converting Jass to Lua... FAIL

    Hello there, I hope you are all fine. So I decided to do the jump and start converting my map to Lua, trigger by trigger. But before I even go further, I cannot even manage to get my triggers to run. I have made a GUI trigger : Lua Init Events Time - Elapsed game time is 0.00...
  31. Tom_Almighty1

    JASS Description Frame?

    Guys I am having trouble learning these new updates in war3 1.31 TFT non-reforged. Can you please provide me a simple trigger on how to make a description box frame with words in it? Kinda like how the tooltip works but I need to move it to an area I also need to have a way to hide/unhide it...
  32. Blikunman

    [Help] Calling a GUI Trigger from Jass

    Would it be possible in this code to make it run / stop a GUI Trigger, instead of printing text? if (cs == true) then call BJDebugMsg("Shit active") else call BJDebugMsg("Shit unactive") endif endif thanks, im a jass newbie!
  33. Macadamia

    [General] Back after 16 years, stuck on 2D Arrays globals.

    Hi everyone ! First things first, my question, as people might not have time to read all my detailed explanations : How do you declare global 2D arrays in Jass without conflicting with the WE's Init Globals function ? I mean I have several arrays I use like this one : rect array...
  34. Rayman90

    [JASS] Do unit order events leak somehow ?

    Hello, sorry if my english is bad I put this code to my map: function time takes nothing returns nothing local integer i = 0 loop exitwhen i ==100 call IssueImmediateOrderById ( udg_u , 851972 ) set i = i+1 endloop endfunction function start takes nothing returns nothing local...
  35. zxxzyyz

    [General] JASS What is the problem here?

    scope CampLeave initializer init globals private hashtable Data = InitHashtable() private trigger Trig = CreateTrigger() private integer Number = 0 private rect array Area endglobals private function Set takes rect Leave returns nothing local region r = CreateRegion()...
  36. lolreported

    [JASS] Modify Item-Type Tooltips

    Has anyone figured out how to modify the tooltip of an item-type, if even possible? A workaround exists maybe? The natives modifying item data only takes an item parameter, not item-type/integer. native BlzSetItemExtendedTooltip takes item whichItem, string extendedTooltip...
  37. prizraknadache

    Lighting Effects Does not appear corretly at Fog of War!

    Hello. I want to make my lighting effects visible on map even in the fog of war. I've found fucntion: set bj_lastCreatedLightning = AddLightningEx("CLPB", false, 0, 0, 800, 0, 0, 800) It workes, however, not how i am expecting. Maybe someone know how to make lightings effect visible on the fog...
  38. Swatosj

    Weird AddUnitToStockBJ function behaviour

    Hi ! I'm currently trying to implement a dynamic random unit sell system and I've ran into a strange problem using the native function which adds unit to a shop (AddUnitToStockBJ). Problem Sometimes the function is adding the correct amount of unit slots to the shop and sometimes it just...
  39. NightKnight

    Need experienced GUI/JASS coders and artists for a special Gladiators map

    I'm working on a special Gladiators map called Final Gladiators X. Gladiator maps consist of players who play as gladiators and a director, who controls the mobs and bosses. Each gladiator chooses a hero, buys items and kill mobs which are sent by directors for EXP. The purpose of this genre is...
  40. Dunkeulbock

    [Solved] Purely cosmetic wood gathering spell

    Hello folks ! I want to create a spell very similar to the vanilla ability Gather which allows, as everyone knows, a peasant to gather wood (and gold but it's not important there). But I want this spell to be purely cosmetic. I want my peasants to go to the nearest tree, to hit it with their...
  41. Wreeq

    What program does ppl use to make their jass look like this

    ^title, Mine is capture.PNG.
  42. BradPittlord

    syntax error

    When you save your map and it compiles your script if it gives a syntax error it tells you what it is but what line it's on and the text box of that line is never actually where the syntax error is. Is there a way to find where it is cause VS isn't catching any errors edit: For some reason if I...
  43. IgneousRed

    GUI to Jass converter?

    A few years back I remember having an option in trigger editor(probably not original) to convert the GUI to Jass or vJass(not sure). I can no longer find such convertor... Does anyone know of any way to do such a thing?
  44. Jacobjohn1

    Need Some Jass Help--Expected "Returns"

    So I'm trying to create an area of effect polymorph that is MUI. So I put together this script. But I'm having issues. MassSheepify Copy Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Mass Sheepify Actions Custom...
  45. BradPittlord

    Couple Questions

    1. For bribes damage engine, it's faster if you combine all your triggers into one with the GDD_Damage_event. Does the same concept apply to other triggers? Say combining all your, "a unit is sold" or "periodic Event .03 sec" along with the many other events to reduce lag? 2...
  46. 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...
  47. 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...
  48. 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...
  49. 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...
  50. 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 =...
Top