Open your Map files
Look for the Power thingys, and see if they have icons.
1
2
In response to Hell Ramen
|
|
In response to Metroid
|
|
Yep... =/
A very dark black. |
In response to Hell Ramen
|
|
Rounding doesn't seem to work either...
round(Str,1) doesn't round it... BTW, I was able to test it by putting the stats on the map.(I don't want to do that. =/) |
In response to Hell Ramen
|
|
try var/obj/statthing/statthing = new
this is the line above the stat panel metroid showed. |
In response to DeathAwaitsU
|
|
They appear now, but they're all named "stat", and clicking on them does nothing. X_X
Thanks for helping. |
In response to Hell Ramen
|
|
First, you need to name them, you forgot that, I think. Second, make sure you dont get runtimes when u click.
|
In response to Metroid
|
|
Name what, the objects?
|
In response to Hell Ramen
|
|
Yes.
|
In response to Metroid
|
|
=/
Still named "stat"... Thanks for helping, so far. |
In response to Hell Ramen
|
|
Would this be easier making a simple menu system...?
|
In response to Hell Ramen
|
|
A sad bump. =/
|
In response to Hell Ramen
|
|
I couldn't be bothered to read what Metroid said, i only read the first post so dont flame me if i do something wrong.
mob/var/hp = 1 I dont think you want an icon next to it so dont bother adding one to this. This is all plug and play, so just edit the update proc to however you want. You wouldn't really want the player to be able to gain inf stats by clicking now would you :) ? |
In response to DeathAwaitsU
|
|
Yay ^___^
That's just what I wanted Death! I'm so Happy! Thank you! [Edit]: Noo, right when I thought I was finished. ;_; Your code worked, it just doesn't work with mine... It thinks "Update" is undefined, I checked your code, and mine, and they look nearly the same.... obj The stat(noticable Update process from you) stat("",src.Power) The section from the Stat Panel... mob The new process. What am I doing wrong...? X_X Thank you, I would be finished if I was half-way decent at coding... |
In response to Hell Ramen
|
|
The only errors i can see without testing would be, mob/var/obj/stats/Power/ = new is wrong. You dont need to put an = there and you've defined what the variable holds just not the actual variable.
to do it right, try this: mob the TOTAL(except your update proc) code will look something close to this: obj Sorry if there are any errors, i'm doing this without much thought. *EDIT* Just read your other post and noticed you figured out the mistake, oh well lol. |
1
2
[Edit]: Hmm... still not working, thanks for helping me so far.