EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 08-31-2005, 03:13 AM
Profit Profit is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Everfrost
Posts: 253
Default Help with code please

I'm trying to evaluate if the target windows' power is showing "0%" or "None"

Now this trigger works in the builder, but not ingame, any ideas?

Parent.Trigger.Activated=((Parent.PowerPage.Power.LocalText)==('None'))

Last edited by Profit : 08-31-2005 at 05:12 AM.
Reply With Quote
  #2  
Unread 08-31-2005, 03:18 AM
taco-man's Avatar
taco-man taco-man is offline
EQ2MAP Updater Author
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
Default

dont use localtext, that wont do anything, use the regular text
__________________
EQ2MAP Updater Download
EQ2MAP Website
How to Install a custom interface
Reply With Quote
  #3  
Unread 08-31-2005, 03:33 AM
Profit Profit is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Everfrost
Posts: 253
Default

Thanks Taco, I've tried this, still no go.

Local text has worked for other triggers I've done....
Reply With Quote
  #4  
Unread 08-31-2005, 07:55 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

If you working on test you shold be able to do

Parent.Trigger.Activated=((Parent.PowerPage.Power.LocalText = 'None') ? true : false)

I haven't tested ternary operators yet, but one of the patch notes said they added them.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
Reply



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 04:59 AM.


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