lotrointerface.com
Search Downloads


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

Reply
Thread Tools Display Modes
  #1  
Unread 02-20-2012, 08:34 PM
jabjab jabjab is offline
The Wary
 
Join Date: Feb 2012
Posts: 1
Function to Get Scrolling Combat Text

Hello,

I have been writing some scripts for some games, I am trying to find a method of detecting text in game. The text Iam looking for is scrolling combat text. Eg. You hit a target for 100 damage and text saying '100' will float out of them and slowly fade.

I was wondering if it was possible?

Thanks you.
Reply With Quote
  #2  
Unread 02-20-2012, 11:27 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 340
Capturing the text is relatively trivial with the Chat object (see LoTRO Alerts for an example of how to use the Chat object) - you'd just have to set up a pattern to watch for on the Combat channel. For display purposes, you could use a simple Update event handler to slowly scroll and fade the text. The only problem would be where to display the text - we can't get the location of your target so the text would either have to appear at a predetermined location on screen or possibly at the mouse cursor but the cursor seems like a bad idea for those that use the mouse to select skills, etc.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
heres a function to convert localtime to UTC time itsallhype820 Tutorials & Other Helpful Information (L) 0 10-20-2011 02:57 PM
Scrolling TextBox goldbishop Lua Programming Help (L) 2 12-01-2010 10:44 PM
function Backpack:ItemMoved(sender, args); MrJackdaw Lua Programming Help (L) 0 11-21-2010 02:28 AM
Ui problem after book10 - Scrolling error text madusmacus Interface Help (L) 3 09-04-2007 03:51 AM
Scrolling combat text Fisko Interface Requests (L) 1 05-31-2007 01:34 PM


All times are GMT -5. The time now is 09:32 AM.


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