• 🏆 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. 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...
  2. 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...
  3. 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...
  4. 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...
  5. _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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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 ;)
  12. 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...
  13. 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...
  14. 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. :)
  15. _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...
  16. 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...
  17. 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...
  18. 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...
  19. 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")
  20. 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...
  21. 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.
  22. 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...
  23. 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()...
  24. 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...
  25. 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)...
  26. 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.
  27. 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...
  28. 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...
  29. 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...
  30. 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...
  31. 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?
  32. 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!
  33. Marebre

    [General] Screenshot

    Is there a way to take screenshot automatically, perhaps with this? native ForceUIKey takes string key returns nothing
  34. 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 ...
  35. 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...
  36. 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...
  37. 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 =...
  38. 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...
  39. kStiyl

    [vJASS] EVENT_PLAYER_UNIT_ISSUED_ORDER memory leak issue

    My map has been having a lot of fatal errors due to 'out of memory' errors, and I traced the issue down to a single line of JASS code (in a unit indexing system) that looks something like this: call TriggerRegisterPlayerUnitEvent(CreateTrigger(), Player(12), EVENT_PLAYER_UNIT_ISSUED_ORDER...
  40. Adorm

    [General] Two Questions on Unit Groups

    Hey Guys, How do you create a Unit Group through a Custom Script/JASS? And also, is it possible to check if a Unit Group is Empty and if so how would both of these things be accomplished through Triggers? Thanks so much! Cordially, Adorm
  41. Svynct

    [Solved] How to get the target point X and Y of a unit's current order in JASS?

    I'm working on a Creep AI and I need to know how to get the creep's current order target points, so I can repeat its previous order.
  42. Svynct

    [Solved] Help with dummy not beeing removed

    can someone explain me why is the dummy not beeing removed? function Turmoil_Condition takes nothing returns boolean return GetSpellAbilityId() == 'A003' endfunction function Timer takes nothing returns nothing local timer t = GetExpiredTimer() call DestroyTimer(t) set t = null endfunction...
  43. izaiphovias

    Help with learning JASS

    So, I was reading a bunch of tutorials for JASS scripting here and also Vexorian's and am trying to get the hang of things. In my new project I have a simple GUI spell based on Entangling Roots that hides the caster, creates 4 visible dummies around the target and damage the area, then it shows...
  44. Nowow

    Creating AI workflow

    Or How I Learned to Stop Worrying and Read AI This tutorial serves one primary purpose: teaching you how to learn ai by yourself. In order to achieve that we'll go through two steps: First, we'll read through an ai script from one of blizzard's campaign maps and use it to understand how ai...
  45. Krakenn99

    [Solved] How to fix these leaks?

    I used the JASS Cheker and it said that I have 2 leaks in my map. Idk what these lines and columns are so I don't know where exactly am I leaking, I'm pretty sure it shouldn't leak. Is it a false alarm or am I blind? Type: location 1. war3map.j (line: 1605, column: 5) 2. war3map.j (line: 1605...
  46. Swan

    [Spell] Making a Burrow Spell

    So I want to make burrowing spell that will allow the hero to fire out spikes as long as they have mana. So far my initial idea is that I would play the morph animation for the crypt fiend, hide the model (0% transparency maybe), place a dummy unit on top of the burrowed crypt fiend for the...
  47. pOke

    [Solved] Trouble with usage GetLocalPlayer()

    So the goal of the code is to check which player's turn it is by looking at the global, then if it is their turn allow them to click on on things. If it isn't, don't allow them to click on things, select their builder. Currently, it just makes it so no one is able to click on anything. When...
  48. userid907

    [vJASS] Why my script not working?

    hello, hive. i here want to ask why my script not working, i've try to search the problem, and i change the script that i think is wrong, and when i test it the script still not working, after repeat it about 10 times, i give up because i'm new on vJass. and i've try to debug the script and only...
  49. JarJar1337

    [Spell] Spawning Trees through ability

    So I made this ability right? And I made the custom triggers yes? Heres what I have Unit - A unit begins casting an ability (Ability being Cast) Equal to _Plant Sappling ( L ) Set Caster_Plant = (Casting Unit) // not needed Set Caster_Plant_Point = (Target Point of Ability)...
  50. Zwiebelchen

    Dungeon Generator & Stamp

    After almost two days of non-stop working on this, I finally finished my masterpiece. This baby allows generating complete dungeons and cave designs directly by RNG. For dungeons, it applies a pattern of rooms and connects them with corridors; caves on the other hand are generated by using...
Top