View Single Post
01-25-18, 08:10 AM   #11
gempir
A Black Drake
 
gempir's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2015
Posts: 84
The line does make sense.

Lua Code:
  1. select(2, ...)

Means it returns all arguments after 2 (including 2) so only "ns" in your example.

Unpack then turns the table of core into 3 variables into F,G,V

Lua Code:
  1. local F, G, V = unpack(select(2, ...))

So it's basicly the same as your example but ignores the name of the addon.
  Reply With Quote