• 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. 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...
  2. 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...
  3. 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...
  4. 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])...
  5. 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...
  6. 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...
  7. 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)
  8. 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...
  9. 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 "")...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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!
  19. 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...
  20. 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...
  21. 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()...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
  26. 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...
  27. Wreeq

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

    ^title, Mine is capture.PNG.
  28. 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...
  29. 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?
  30. 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...
  31. 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...
  32. 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...
  33. 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...
  34. 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...
  35. 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...
  36. 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 =...
  37. 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...
  38. 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...
  39. 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?
  40. 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 :)
  41. 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
  42. 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...
  43. 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...
  44. 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...
  45. 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...
  46. 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...
  47. 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...
  48. 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 =...
  49. 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...
  50. 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...
Back
Top