[Snippet] Simple Unit Indexer

Published: 2012-12-11 01:01
Edited: 2017-12-18 06:25
by moyack

DescriptionThis library aims to provide a simple way to attach data to units via unit indexing. It offers the minimal functions required to work. This library is the result of thinking about this p...

Views: 39.1k

[Snippet] RegisterPlayerUnitEvent

Published: 2012-07-09 13:29
Edited: 2017-12-19 23:35
by Magtheridon96

I'm attempting to start up some activity over here by posting/spamming resources .This system was made to replace that cumbersome GTrigger by Jesus4Lyf.Special thanks to Bribe, azlier and BBQ. (The...

Views: 32.7k

[snippet] AllocLoop (AKA Alloc 2)

Published: 2012-08-15 23:51
Edited: 2017-12-19 13:34
by moyack

Based on Alloc by Sevion, this version adds the possibility to make struct iteration. The idea of this snippet has credits for PurgeandFire.In other words: this is Alloc version 1.09 with an extens...

Views: 32.2k

[Snippet] Single Player Detector

Published: 2012-11-03 15:15
Edited: 2017-12-19 19:49
by moyack

DescriptionThe purpose of this library is to offer a single function which checks if the game is played in single player mode or multiplayer.Important: This function must be used only to define if ...

Views: 30.2k

[Snippet] GetZ

Published: 2012-07-24 15:27
Edited: 2017-12-19 19:43
by Purgeandfire

A very simple snippet. It allows you to retrieve the Z values of points and units.Note: Try not to use terrain deformations or abilities that cause terrain deformations (shock wave, war stomp, etc....

Views: 30.2k

MicroTable

Published: 2013-02-10 10:50
Edited: 2017-12-24 10:54
by moyack

DescriptionThis small library allows to attach data structs in a easy way.Requirements: - nothingActual CodeExampleCheck the library Hibrid TimerUtils in the related links.

Views: 28.5k

[snippet] GeometryLibBase

Published: 2012-10-01 21:09
Edited: 2017-12-19 19:30
by moyack

DescriptionHere's the first of the codes developed to form a set of libraries with their dependencies so you can make in your map a complete but adapted geometry pack, fitting your needs and reduci...

Views: 27.7k

[System] Heal

Published: 2012-07-09 13:36
Edited: 2017-12-19 12:07
by Magtheridon96

This system efficiently handles healing units instantly and over time.Demo CodeFeel free to comment..

Views: 21.4k

[snippet] LocalHelper

Published: 2012-08-02 12:36
Edited: 2017-12-19 22:45
by Troll-Brain

This is a less verbose way to handle local code stuff than the usual one, if GetLocalPlayer() == ...It doesn't use any handle comparing to the alternative ForceAddPlayer / IsPlayerInForce.It's also...

Views: 24.3k

[System] Simulate 3D Sound

Published: 2013-05-02 20:55
Edited: 2017-12-19 19:53
by Purgeandfire

This library will allow you to simulate a 3D sound. It will have most of the features of a 3D sound, except for cones and velocity. Most of these are guesstimates, but when I compared it to the reg...

Views: 20.6k