Author Topic: Quick Scripting Question  (Read 829 times)

I need some help, I was scripting a Medieval RPG Mod, and I need to set a value to appear on the bottomprint like a health bar.
Thanks in advance for the help
« Last Edit: December 27, 2009, 11:43:37 AM by The Kitteh »

Scripting or using variables?

scripting, sorry for being unspecific.

What I did for my mod to display things was this
Code: [Select]
bottomPrint(%client, "<font:palatino linotype:22>\c4Name: \c2" @ %client.name @ " \c4- Gold: \c6" @ %client.Roleplay["Gold"] @ " \c4- Level: \c6" @ %client.Roleplay["Level"] @ " \c4- Race: \c6" @ %client.Roleplay["Race"] @ " \c4- Class: \c6" @ %client.Roleplay["Class"] @ " \c4- EXP: \c6" @ %client.Roleplay["EXP"] @ "", 1, 1);Maybe make the health into a variable and bottom print it?

thanks alot, so i can use that to display variables?
yes i need to display health, level, coins etc.

ok i've tried all of that now, and it still doesn't work.
do I put it in the server.cs file or in a separate .cs file?

No, everything should be in the server.cs or whatever you put in it to tell it to run (example: exec("./Script_Yours.cs"); ).

ok, so i just copy and paste that code, then edit it to my needs in a separate .cs file and it will work?