With 1.31 Blizzard provided the feature to listen to keyboard presses and releases outside of arrowkeys and ESC. This feature is used over a new Event that can be registered to a trigger.
This is a small Lua example: a trigger runs when player red presses the A key...
Everything About Basic Atacks
This tutorial is mainly for older patches, new natives to modify attack values exist in the later versions.
Table of contents:
1. Basic Attacks, what are they?
2. Requirements to Detect Basic Attacks
3. Detecting Basic Attacks
4. Resetting the Basic Attack Timer...
JPAG - JASS Proper Application Guide
Bettering the cause of readable source code
If you are building a map you want to submit for review, building a
spell or system to submit for public use, this guide can help to establish a
general formula for making good, readable code. The more people...
vJASS Spell Templates
Table of Contents
This is more of a repository or reference rather than a tutorial.
I'm going to show you some of the cleanest and most ideal spell
models you could follow. These...
When I was making cinematic scripts a few months ago, I was disappointed by the inaccuracies of TriggerSleepAction(), so I moved to fix that problem with Waldbaer's Exact-Timing Cinematic tutorial. Unfortunately, that looked like a mess and was getting tiresome to create the trigger queues for...
Unit Flying Ability
(The Right Way)
Table of Contents
This is quite a simple tutorial. I made it quite short and straight to the point because there's
not much to say. Basically, what we've been doing to give units...
Lua Object Generation
What is Lua?
Lua is a programming language that was made to be light, simple, and flexible. It was made to be embeddable into application programs to create a simple interface for scripting, and that is exactly what it will serve as for this tutorial.
[GUI]*Advanced Triggering Tips
Advanced Triggering Tips
Why I am writing this
I see lots of GUI scripts which make the same mistakes again and again, whether it be by leaks or by adding work to the list that doesn't need to be added.
I hope GUI users will learn to pay better...
Creep Respawn (GUI) - Difficulty: 3/10
This tutorial explains how to make units owned by a certain player to respawn at their original position after a given amount of time.
There are a few things...
Was asked about stuff bouncing off other stuff a while back, and posted a script of which I couldn't recall the source, and which I wasn't sure how functioned.
To that end, I decided I wanted my own script for doing this, one that I understood, and could manipulate in the future to my needs...