• 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.

wurstscript

  1. HerlySQR

    Built Wurst Map doesn't appear in game or crashes

    I'm creating a Wurst map in the 1.27 and when I run it with the VSCode command, it runs without problem, even I run the built map in the World Editor and also run without problem, but when I wanna test it in game the map it doesn't appear and if I just copy paste the WurstRunMap the map appears...
  2. HerlySQR

    Problem starting with Wurst

    I tried to start to use wurst following the steps, but the VSCode throws me an error: Loading Wurst version 1.8.1.0-jenkins-Wurst-1271 Workspace null. Make sure to open a valid project root using File->Open Folder, before opening code files. [Error - 23:27:12] Server initialization failed...
  3. SpectreCular

    [Wurst] HelloWorld - "Cannot load map data"

    So I was following the instructions at WurstScript • Wurst Beginner Guide and got a new WurstScript project set up in VS Code. But when I F1 > Run a wurst map, wc3 (1.28.5) runs and displays the dreaded "Cannot load map data" error... The map opens just fine in World Editor (Extended), but the...
  4. Thing_I

    Wurst Adding generated spell to map

    When creating a spell in Wurstscript, utilizing `ChannelAbilityPreset` or equivalent, how would I add this spell to the map? If I want there to be units created in the editor which I want to have this ability, how would I go about this? From my understanding, running the build script will...
  5. Sedistra

    Issue with moving item buttons using new natives

    I've been testing out the new UI natives, and playing around with clearing and re-customizing the UI. My thought process was to hide everything then just display what I want and move/transform them to my needs. This works just fine for command buttons and portraits, however I'm unable to do...
  6. Frotty

    Best of the Wurst 10

    Best of the Wurst 10 In March and early April, we rolled out the previously announced wurst.build configuration file improvements, allowing for further code-based map metadata customization, and also laying additional groundwork for the independent map generation pipeline we envisage for the...
  7. apsyll

    [Wurst] MouseUtils

    I started creating a mouse control/helper system for my project that uses the mouse as input device heavily. It is at this stage working but not fully polished. you can check if a player presses a specific button, get the amount of multy clicks (double/tripperl/quadrupel... clicks), the mouse...
  8. apsyll

    [Solved] [Wurst] How to add a drag-line for each player to Mouse events?

    Hey working on this system for a while and got to a point I'm starting to like it, now I would also to like to add the function to create a line(vec2 array + Player Id) that follows your mouse cursor when a button is pressed and will be returned on the release and can be destroyed after it is...
  9. Taztingo

    [Wurst] Passing this into Closure, or alternative?

    I have a class that contains a dialog. is there any way I can add a callback to it, and call a method within the class using a Trigger? trigger t = CreateTrigger() ..registerDialogEvent(this.mode) ..addAction(-> onScoreClicked(0)) I cannot capture...
  10. Taztingo

    [Wurst] Ownership Semantics

    Is there any way to represent ownership in wurst? I am referring to move semantics in C++, and lifetime ownership in rust. It would be nice to cleanly show in my code when I am passing an argument that it is transferring ownership, and I don't need to worry about cleaning it up (The new owner...
  11. Taztingo

    Extending packages or class wrappers [Wurst]

    What's the best way to handle custom player attributes in Wurst? I went with the approach of creating a wrapper Player class that contains my custom attributes and also contains a native player object. This lead to some additional wrapper classes needing to be created like Team which contains n...
  12. 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...
  13. 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...
  14. Frotty

    Best of the Wurst 8

    . This month we addressed some older issues, as well as adding juicy new features. Our spotlight this time is about new vscode features. We also want to say thanks to the community for the avid support and contributions in the last few months, helping Wurst to become better than ever! Tool...
  15. xylon

    [Spell] [Wurst] Trying to make tutorial spell work

    Hi, I'm new to the forum. The question is very simple: I copied all the code from WurstScript • Best of the Wurst 5 - Late March Update, however when I build the map the ability is created as intended (Conflagration spell under custom abilities) but no code is exported to the Editor...
  16. Frotty

    Best of the Wurst 7

    After a small summer break we return this month with many bugfixes and improvements to WurstScript quality of life and overall user experience. Make sure your wurst setup tool is up to date and then update your wurst installation to get improved handling of wc3 patch versions, some new code...
  17. Frotty

    Best of the Wurst 6

    Wurst goes 1.29 and beyond As the new patch has hit earlier in April, we have implemented the necessary changes to support it in our toolchain, while still keeping backwards compatibility alive. Updates Increased maximum class instances to 32768 to match new array sizes in 1.29+ The new...
  18. Ouguiya

    [Wurst] How can I accomplish "HashMap<item, function>"?

    Hi! I'm currently in the process of rewriting my entire map in Wurst (yes, I think it's that awesome. My map is a GUI disaster, so this was urgently needed). Now, I have a lot of situations where I need to do something whenever someone buys an item. In GUI, I did this with (a lot of) triggers...
  19. The_Spellweaver

    [Solved] Wurst: Possible to manually destroy class instances?

    I'm coming from vJass and started to learn some wurstscript because it seemed handy at first. Its syntax is alluring, but very punishing and my bum is hurting already, and errors are very misleading but I'm getting used to it. So I've used to just call .destroy() on structs but here I can't do...
  20. Frotty

    Best of the Wurst 5

    1.29 AND PTR The wurst team is excited and curious to see what the new PTR changes will mean for the wc3 modding community. We are anticipating the release to the stable battle.net realms, and will add support to the wurst toolchain as soon as possible. At this time, we do not plan to have a...
  21. Frotty

    Best of the Wurst 4

    Best of the Wurst 4 In this fourth issue of our blog we look at wurstscript's start into 2018, and our roadmap. Once again we're excited to mention that users within our awesome community are getting involved and contribute to the wurst. The theme for this months code snippet is unit testing...
  22. Frotty

    Best of the Wurst 3

    Best of the Wurst 3 Welcome to the third issue of our Wurstscript blog! And happy new year! Background: Wurst is a compiled, higher level programming language that provides powerful tools and safety for an integrated development experience in wc3 modding. The theme of this month's issue is...
  23. Frotty

    Best of the Wurst #2

    This is the second issue in a regular series of news posts about wurst and the wurstscript community. Unlike the previous issue, this one is short, and focused on this month's progress. We intend to use this format for all future posts. What is wurst? Wurstscript is a programming language that...
Top