|
Ultec Newbie
Joined: 25 Mar 2018 Posts: 1
|
Posted: Sun Mar 25, 2018 11:42 am
Status bar showing up affects |
I'm trying to figure out how to make a script that would show a number of affects on status bar with either green or red depending whether a said affect is on or off. To clarify :
-I have "sanctuary" on status bar.
- "You are surrounded by a white aura." would toggle the affect on, making my status bar "sanctuary" green
- "The white aura around you fades away" would toggle the afgect off, making status bar "sanctuary" red
Then I'd have other similarly working affects on status bar aswell like, "shueld", "aura", etc.
I basically know what I am suppossed to do, but I just can't manage to put this down into line of code. Any help would be greatly appreciated. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Mon Mar 26, 2018 7:09 am |
This feature would be best used with buttons.
I do something similar myself.
#CALL %btncolor(ButtonID,,backgroundcolor)
In the status bar you would be better off using MXP to color the text in a variable, and then display thatvariable.
#VAR sactuary {<color red>sanctuary</color>} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|