 |
Maarek Newbie
Joined: 22 Nov 2002 Posts: 4
|
Posted: Fri Nov 22, 2002 10:53 pm
Trigger |
How do I make a trigger of this
< Lifeforce (69) Armor (0) Energy (85)>
< Powerlevel (1,119/1,230)>
They are 2 lines, I am going to make a guage of the first line where MaxLF = 100
And I am going to make a guage of PL to where
MaxPL = 5000, I tried to make one but it never put anything in the variables ... ??? |
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Nov 23, 2002 12:26 am |
#TR {~< Lifeforce ~((%d)~) Armor ~((%d)~) Energy ~((%d)~)~>$~< Powerlevel ~((%n)/(%n)~)~>} {#VAR LF %1;#var armor %2;#var energy %3;#VAR PL %4;#var pl2 %5} {} {nocr|prompt}
I included variables for the other numbers since you may want them at some point. Nocr and prompt are options which make it a prompt trigger.
LightBulb
Senior Member |
|
|
|
 |
Maarek Newbie
Joined: 22 Nov 2002 Posts: 4
|
Posted: Sat Nov 23, 2002 12:59 pm |
I see thank you, I will try it in a second, BTW will that still work for PL with the numbers having a " , " in the number ?? I dont know where I went wrong making it, I was trying to do it with the gui and not with command line scripting which I really should learn =P Thanks for the help ^.^
|
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Nov 23, 2002 4:26 pm |
Yes, %n will work with numbers that have commas.
LightBulb
Senior Member |
|
|
|
 |
|
|
|