lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 05-28-2015, 11:45 AM
artouiros artouiros is offline
The Undefeated
 
Join Date: Sep 2014
Posts: 6
GetTarget():GetClass()?

Anyone managed to find a workaround for GetTarget():GetClass()? I closed my plugin project because of this 2 years ago, tried now - same thing. This function doesn't exist. The question is - why? Why we can't get the target player/creep class? We can get name/hp/mana, but not the class.
Reply With Quote
  #2  
Unread 05-30-2015, 03:49 PM
Thurallor's Avatar
Thurallor Thurallor is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2013
Posts: 202
The only workaround I can think of would be to allow the user to manually maintain a list mapping character names to classes.

As for why the function isn't available -- I doubt it is the result of a deliberate policy decision. Unfortunately the Lua API has never been officially supported, so we have to wait for one of the devs to get in the mood to spend his free time on it. You could make the feature request on the official forum, but don't hold your breath waiting for a response.

Edit: See also Garan's reply.

Last edited by Thurallor : 05-30-2015 at 03:59 PM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:48 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui