LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Save Effect (Icon) in a file? (https://www.lotrointerface.com/forums/showthread.php?t=1179)

Heta 10-30-2010 05:56 PM

Save Effect (Icon) in a file?
 
Hi,

is it possible to save an effect in a file and load it when the plugin is loaded?

I made a little plugin with which you can define Buffs and when these Buffs are active, you get customisable visual feedback. BuffList,Bar etc

Now i want to see the Bufficon of a definied buff (with tooltipp etc) in my BuffList next to the Label which shows if the buff is active.
The problem is that i only get the Bufficon when the Buff is active. :confused:


So can I save the Buff, eg CrittBuff when it's active and when I reload the plugin I get the Bufficon in my Bufflist although the Buff is inactive?

Greetings :)

Heta 11-01-2010 07:42 AM

no ideas? :(

D.H1cks 11-01-2010 07:52 AM

I think the only way you can get the effect icons is to take screenshots and then edit them to get them. There is no way to save images in LUA.

Heta 11-01-2010 08:38 AM

Thanks for your reply.

I had im mind to save the id or hex code of the Buff when it's active
and create the Bufficon using the id etc. at the reloading of the plugin.

But too bad that this is not possible or I'm not able to code it :D

MrJackdaw 11-01-2010 11:03 AM

I have no idea if this will help but... http://www.lotrointerface.com/downlo...rceViewer.html


All times are GMT -5. The time now is 05:19 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI