UnitRecycler

Published: 2016-11-02 03:36
Edited: 2017-12-19 23:32
by AGD

A useful library which allows you to recycle units (even dead ones, but they must leave a corpse), avoiding yet another permanent 0.04kb memory leak for each future CreateUnit() call.Script

Views: 9k

[Snippet] RegisterAnyUnitEvent

Published: 2012-02-02 11:18
Edited: 2017-12-19 19:59
by moyack

Description.A library to reduce the time writing the same shit. I took some code ideas from a similar resource approved here. This one supports all the possibilities in calling the trigger. If user...

Views: 13.1k

[Snippet] StringSize

Published: 2012-08-16 17:47
Edited: 2017-12-19 13:32
by Purgeandfire

This library will calculate the width of a string in pixels. This is used in word wrapping. I have updated my old library a bit. For those who don't know how to use it, try making a paragraph writt...

Views: 12k

[Snippet] Game Clock

Published: 2018-12-21 03:09
Edited: 2019-06-23 06:52
by nel

Game ClockIt allows you format the time and get the elapsed time.

Views: 3.2k

[Snippet] NoSaveGame

Published: 2018-11-28 23:50
Edited: 2019-02-20 17:12
by nel

NoSaveGameIt prevents to use Save Game function to all players.

Views: 3.4k

[Snippet] IsLineWalkable

Published: 2016-08-27 22:29
Edited: 2017-12-19 22:55
by AGD

This simple snippet allows you to check for the walkability of the terrain between two points.

Views: 8k

[Snippet] Disable Transmission Skip

Published: 2013-07-02 02:48
Edited: 2017-12-19 19:52
by Purgeandfire

This library will allow you to disable/enable the feature that allows you to skip cinematic transmissions by pressing ESC. Some RPG's are ruined when other players press ESC during a cinematic beca...

Views: 12.6k

GetUnitCollisionSize

Published: 2013-05-21 05:16
Edited: 2018-01-01 23:51
by Vexorian

Gets a unit's collision size maybe?Information:ITERATIONS : This determines how many iterations it should use (it uses a binary search, 10 is fine, actually, 5 is fine as well, I don't think you ne...

Views: 7k

[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] 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