- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,109 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
WASD Library (8-Directional)
- 0 Likes
- StarCraft II
- 7 Monthly Downloads
- Supports:
- 1,482 Total Downloads
- Updated 05/24/2010
- Created 05/24/2010
- 0 Favorites
- Project Site
- Comments
- Release Type: Release
- License: GNU Lesser General Public License version 3 (LGPLv3)
- Newest File: WASD Movement Library v1.1
About WASD Library (8-Directional)
Very easy-to-use WASD Library by rrowland. Currently turns your unit in the direction you are running, may later be expanded to toggle strafing/backpedaling.
Current Version: 1.1 By: rrowland
- Using mostly custom script to save a ton of trigger space. Only 11kb!
- Bitwise operations make memory footprint small, code easy to read and processing fast.
- Very simple to use.
- Supports up to 16 players.
Important: After importing you must change the library ID to ‘WASD’.
Public Functions:
WASD KeyDown Check(int Player, key 'Key Pressed')
Place this in the map's "Key Down - Any Player - Any Key" trigger.
Example:
Events UI - Player Any Player presses None key Down with shift Allow, control Allow, alt Allow Actions WASD KeyDown Check((Triggering player), (Key Pressed))
WASD KeyUp Check(int Player, key 'Key Pressed')
Place this in the map's "Key Up - Any Player - Any Key" trigger.
Example:
Events UI - Player Any Player presses None key Up with shift Allow, control Allow, alt Allow Actions WASD KeyUp Check((Triggering player), (Key Pressed))
WASD Set Controlled Unit(int Player, unit Unit)
Use this to set which unit a player is controlling with WASD.
Example:
Events Game - Map initialization Actions WASD Set Controlled Unit(1, Zealot [46.33, 46.85])
Version: 1.1 By: rrowland
- Fixed bug: Movement speed was capping very low. Increased movement distance and movement speed should no longer be capped (Within any reasonable speed).
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| WASD Movement Library v1.1 | Release | 1,300 | 05/24/2010 | |
| WASD Movement Library v1.0 | Release | 228 | 05/24/2010 |
Top Downloads
-
- SC1 Episode 1 - Rebel Yell
- Scenario, Legacy, StarCraft 1, and Campaign
- 7,458 Monthly Downloads
-
- SC1 Episode 6 - Queen of Blades
- Cinematics, StarCraft 1, and Campaign
- 3,327 Monthly Downloads
-
- SC1 Episode 4 - The Stand
- StarCraft 1 and Campaign
- 2,051 Monthly Downloads
-
- SC1 Episode 2 - Overmind
- Scenario, Legacy, StarCraft 1, and Campaign
- 1,976 Monthly Downloads
-
- SC1 Episode 3: The Fall - Protoss Campaign
- Campaign, Cinematics, Melee, Legacy, and StarCraft 1
- 1,883 Monthly Downloads
Comments