EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Request (https://www.eq2interface.com/forums/forumdisplay.php?f=25)
-   -   Target Effects Toggle (https://www.eq2interface.com/forums/showthread.php?t=5602)

sunkin 02-08-2006 02:55 AM

Target Effects Toggle
 
Hello. not sure how hard this is gonna be but i would love if somebody could help me with this. I currently have 2 macros set up so i can turn off and on the target and implied target effect icons. I rarely want to see those but on occasion(like duels) its nice to have. I'm not sure wether if/else statements are possible in macro's but thats why i am posting. I currently have a macro with /show_target_effects 0 and /show_implied_target_effect 0 and another with the same but 1 instead of 0. Now this works but is there a way to toggle it with one button? any help would be awsome.

Thanks in advance
Sunkin

Magus 02-08-2006 05:25 AM

No, you can't make a single macro to toggle.

You need an Enable button, and a Disable button.

UI buttons can use conditionals I believe, but not macros.

Zonx 02-08-2006 07:01 AM

Its a longshot but try /show_target_effects !

! is the reverse bollean opperator in script. There's a chance it may actually work in a macro but I haven't tried it.

If that doesn't work, you'll need a scripted button that does the same thing.

OnPress="show_target_effects=! show_target_effects=!"

Note the command must be repeated.


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

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