Difference between revisions of "MQ2Collections" - MMOBugs Wiki

(Created page with "{{plugin}} {{Pluginbox | name = MQ2Collections | author = Brainiac | link = None | commands= | source = | usesini = Yes }} ==Description== <font class="high...")
 
 
Line 2: Line 2:
 
{{Pluginbox
 
{{Pluginbox
 
| name = MQ2Collections
 
| name = MQ2Collections
| author = [[User:Brainiac|Brainiac]]
+
| author = [[User:TypePun|TypePun]]
 
| link = None
 
| link = None
 
| commands=
 
| commands=

Latest revision as of 19:06, 20 December 2019

Plugin Info
Name MQ2Collections
Author TypePun
Link None
Uses INI File Yes

Description

MQ2Collections is a plugin that creates a number of collection types for MQ2 scripts. Out of the box MQ2 supports one collection: the array. Collection types enable script writers to use data structures that more naturally pair with the algorithm they are implementing. For example, if a script writer is implementing a first-in first-out structure for casting buffs, then a queue would be an appropriate structure. On the other hand, if he or she is maintaining a set of IDs representing mobs pulled to camp, then a set or list would be the natural mechanism.

Commands

See official wiki at https://github.com/TypePun/MQ2Collections/wiki

Availability

This plugin is included with the MMOBugs Compile.