EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-05-2005, 11:18 PM
nightlith nightlith is offline
A Brown Bear
 
Join Date: Mar 2005
Server: Antonia Bayle
Posts: 9
Default using /role /afk /anon

I understand how to make a button that will call these commands, but what I'd like to do is also make the button an indicator. Sort of like, if you press the /role button, it puts you in Roleplayer mode, and the button stays pushed down until you click it again, in which case role is disabled, and you can see at a glance what mode you're in.

A couple things I'd like to do, but I doubt is possible:

1) Have the buttons "know" each other. That way if anon is pressed in while role is already pressed in, role pops out and anon pushes in. Or afk pops out...another way would be to say if you press a different player mode and previously toggled mode turns off. (Man I suck at explaining things...)

2) I looked, but couldn't find a data set that stores the player's mode. What I think would be a problem is the "Two light switches for one light" problem*. Essentially, if the role button is "off" and someone types /role, I'd like the button to press itself in. Kinda like a status light. And again, it's for "at a glance" info.

I think #1 is possible with some wonky scripting, but I'm not holding my breath for #2. Any ideas or help would be mucho appreciated!!

--
*Like a binary logic gate. When you have a hallway light that has a switch on both ends. If both are in the Off (down) position, and you turn #1 on (up), you reverse the role of switch #2. Now if you put switch #2 up instead of turning the light on, it does the opposite. I hated this alot growing up because one switch was almost always backwards
Reply With Quote
  #2  
Unread 10-06-2005, 05:11 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Well, my first thoughts for your idea would be to cosider for the commands that there is /anon on, and /anon off (I think at least, not sure). If you can use the commands like that, then I think you could easily enough make buttons that would turn /anon on, and then set the display to show *On* or whatever you'd like. And then clicking it again would /anon off, and set display to *Off*.

I'm not too sure however about the turning anon on while in roleplaying, and haveing it "detect that you are". All the buttons/status would just have to start one way until you clicked them, ect.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
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 10:38 AM.


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