Quantcast
WoWInterface - View Single Post - Lua dynamic class name possible ?
View Single Post
03-03-15, 05:45 PM   #1
florian_9598
A Defias Bandit
Join Date: Mar 2015
Posts: 3
Lua dynamic class name possible ?

Hello everyone;

I'm new in LUA, i want to set a dynamic name class, for exemple :

Lua Code:
  1. Frame:SetPoint("TOPLEFT",Test.About._G[Test],"TOPLEFT",-100,-49)

It's not work ! :'(

But this, is good :

Lua Code:
  1. Frame:SetPoint("TOPLEFT",_G[Test].About.Test,"TOPLEFT",-100,-49)

How to dynamically assign the name of a class after the first object ?

Ex Test.About._G[Test], Test.About.(Test), Test.About.{Test} ?
  Reply With Quote