[Snippet] UnitOrientation

Published: 2013-05-02 03:00
Edited: 2017-12-19 19:51
by Purgeandfire

This solves the ever-so-annoying problem of unit orientation--determining how one unit is facing, or oriented, in relation to another. This snippet provides the functionality to:- Determine if a un...

Views: 13.7k

[Snippet] Group Units in line, with distance and optional spread-value

Published: 2013-03-12 19:28
Edited: 2017-12-19 19:50
by rvonsonsnadtz

IntroductionBefore I start, I would just like to credit Moyack for patience with testing and pointing out certain flaws, especially with how the code is presented.DescriptionI have created a functi...

Views: 17.1k

[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] Get Units in Line

Published: 2013-01-02 23:27
Edited: 2017-12-19 19:46
by moyack

DescriptionThis small library allows users to get the units in a line. This line can be defined by 2 points or 2 widgets.Requirements: - GeometryLibBase - Select Cohadar's jasshelper in JNGP 5e and...

Views: 17.2k

[Snippet] GetWidgetMeasures

Published: 2012-10-01 21:31
Edited: 2017-12-19 19:44
by moyack

DescriptionThis library provides a set of functions to get distance and angles between widgets (units, destructibles, items). Here you can get any of these measures no matter the type of the widget...

Views: 13.1k

[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

[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

[Snippet] IsUnitChanneling

Published: 2012-07-09 13:53
Edited: 2017-12-19 14:03
by Magtheridon96

This is a small and clear resource that detects if a unit is channeling or not.Feel free to comment..

Views: 12.7k

[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