Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="ISO-8859-1" ?>
- <cmud>
- <class name="VitalGauge" copy="yes">
- <button type="Gauge" autosize="false" width="250" height="18" autopos="false" left="505" top="0" toolbar="2" color="#99CC00" textcolor="#99CC00" gaugelowcol="red" priority="435" copy="yes">
- <expr>@vitalgauge.mv</expr>
- <gaugemax>@vitalgauge.maxmv</gaugemax>
- <gaugelow>(@vitalgauge.maxmv/5)</gaugelow>
- </button>
- <trigger type="GMCP" priority="440" copy="yes">
- <pattern>Char</pattern>
- <value>vitalgauge.hp = %gmcp.char.vitals.hp
- vitalgauge.maxhp = %gmcp.char.maxstats.maxhp
- vitalgauge.mn = %gmcp.char.vitals.mana
- vitalgauge.maxmn = %gmcp.char.maxstats.maxmana
- vitalgauge.mv = %gmcp.char.vitals.moves
- vitalgauge.maxmv = %gmcp.char.maxstats.maxmoves</value>
- </trigger>
- <var name="myhp" copy="yes">
- <value>997</value>
- <json>997</json>
- </var>
- <var name="maxhp" copy="yes">
- <value>1057</value>
- <json>1057</json>
- </var>
- <var name="vitalgauge" type="Record" copy="yes">
- <value>maxmv=1187|maxmn=919|maxhp=944|mv=1187|mn=471|hp=944</value>
- <json>{"maxmv":1187,"maxmn":919,"maxhp":944,"mv":1187,"mn":471,"hp":944}</json>
- </var>
- <button type="Gauge" autosize="false" width="250" height="18" autopos="false" left="253" top="0" toolbar="2" color="blue" textcolor="#99CC00" gaugelowcol="red" priority="433" copy="yes">
- <expr>@vitalgauge.mn</expr>
- <gaugemax>@vitalgauge.maxmn</gaugemax>
- <gaugelow>(@vitalgauge.maxmn/5)</gaugelow>
- </button>
- <button type="Gauge" autosize="false" width="250" height="18" toolbar="2" color="lime" textcolor="#99CC00" gaugelowcol="red" priority="431" copy="yes">
- <expr>@vitalgauge.hp</expr>
- <gaugemax>@vitalgauge.maxhp</gaugemax>
- <gaugelow>(@vitalgauge.maxmn/5)</gaugelow>
- </button>
- </class>
- </cmud>
Add Comment
Please, Sign In to add comment