|
Mr. Sasavicz |
Posted: Sun Apr 29, 2007 1:44 pm
CPPIG help |
|
Mr. Sasavicz Novice
Joined: 11 Mar 2002 Posts: 37 Location: USA
|
Posted: Sat May 05, 2007 5:46 pm |
Fang Xianfu wrote: |
Well you said yourself that you had this as the trigger script:
#VA HP %1; #VA HPMAX %2; #VA MP %3; #VA MPMAX %4; #VA MV %5; #VA MVMAX %6
This will create variables for each of those things. Then, for example, you'd set the value of your hp gauge to @HP, the max to @HPMAX, and the low to @HPMAX/4 |
do I have to put this somewhere?
~(Hp:(%d)~/(%d)~)~(Mp:(%d)~/(%d)~)~(Mv:(%d)~/(%d)~)
and where does
#VA HP %1; #VA HPMAX %2; #VA MP %3; #VA MPMAX %4; #VA MV %5; #VA MVMAX %6
that go? |
|
|
|
Progonoi Magician
Joined: 28 Jan 2007 Posts: 430
|
Posted: Sat May 05, 2007 6:32 pm |
omg :P You need to read the following really closely now and do exactly as told.
Code: |
#TRIGGER {~(Hp:(%d)~/(%d)~)~(Mp:(%d)~/(%d)~)~(Mv:(%d)~/(%d)~)} {#VA HP %1;#VA HPMAX %2;#VA MP %3;#VA MPMAX %4;#VA MV %5;#VA MVMAX %6}
|
1. You see a bit of code inside the code tags.
2. You need to paste that code bit into your zmud's command line.
3. Then you need to press the enter button.
Prog |
|
|
|
Mr. Sasavicz Novice
Joined: 11 Mar 2002 Posts: 37 Location: USA
|
Posted: Sat May 05, 2007 6:38 pm |
progonoi wrote: |
omg :P You need to read the following really closely now and do exactly as told.
Code: |
#TRIGGER {~(Hp:(%d)~/(%d)~)~(Mp:(%d)~/(%d)~)~(Mv:(%d)~/(%d)~)} {#VA HP %1;#VA HPMAX %2;#VA MP %3;#VA MPMAX %4;#VA MV %5;#VA MVMAX %6}
|
1. You see a bit of code inside the code tags.
2. You need to paste that code bit into your zmud's command line.
3. Then you need to press the enter button.
Prog |
Ok I have been trying to make a trigger and put that line into it the whole time just going to the setting , trigger, new.
I have done what u typed above and the buttons still do nothing |
|
|
|
Mr. Sasavicz Novice
Joined: 11 Mar 2002 Posts: 37 Location: USA
|
Posted: Sat May 05, 2007 6:50 pm |
OMG
ok ok ok
it was case sensative I got it working thankyou to everyone that tried to help over the past few days! |
|
|
|
Mr. Sasavicz Novice
Joined: 11 Mar 2002 Posts: 37 Location: USA
|
Posted: Sat May 05, 2007 6:53 pm |
the grafix get lower from left to right. is there a way to reverse that?
I looked in the button state cant see anywhere |
|
|
|
Mr. Sasavicz Novice
Joined: 11 Mar 2002 Posts: 37 Location: USA
|
Posted: Sat May 05, 2007 6:58 pm |
hey nevermind I aligned it to the right so it is top to bottom and it looks nice :)
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat May 05, 2007 9:28 pm |
For future reference, a gauge will automatically drain vertically if button height is greater than or equal to button width. Similarly, if height is less than (but not equal to) width then it will drain horizontally.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Mr. Sasavicz Novice
Joined: 11 Mar 2002 Posts: 37 Location: USA
|
Posted: Sat May 05, 2007 11:13 pm |
MattLofton wrote: |
For future reference, a gauge will automatically drain vertically if button height is greater than or equal to button width. Similarly, if height is less than (but not equal to) width then it will drain horizontally. |
yeas i wanted them to be on the top and drain from left to right.
they drain right to left when you put them to the top
when u make a button.gauge theres a place for caption. can I make that colored? its defaulted to black. |
|
|
|
|
|