Lord Valarian Posted July 20, 2012 Posted July 20, 2012 I'v tried using: %% ;nothingprintc "charge &g%a" xcharge 37 obse script error I need this to print: charge 64% Need help.
UltharSeramis Posted July 20, 2012 Posted July 20, 2012 (edited) Hi Lord Valarian, in your post you wrote "obse script error"; does this error message appear ingame or when you compile a script in CS? If it's in CS, there should be a more detailed error message. If so, please post it.By the way, in your post you wrote `printc "charge &g%a"' and so on. The "&g" should be changed to "%g". If you wrote "&g" in your script, this will probably be the cause of the error. I hope I was able to help you. UltharSeramis P.S. This website should also be helpful:http://cs.elderscrolls.com/index.php/PrintC Edited July 20, 2012 by UltharSeramis
Lord Valarian Posted July 20, 2012 Author Posted July 20, 2012 I checked my code that's a typo I put into the message. printc "health: %g%%" temp ; temp= current health/max health ; short "Health: 71" ??
Maskar Posted July 21, 2012 Posted July 21, 2012 I'm guessing your health was 71%. I think the documentation is wrong.
Lord Valarian Posted July 21, 2012 Author Posted July 21, 2012 I'm guessing your health was 71%. I think the documentation is wrong. That's just a sample, any value of temp has no '%'. '%a'(37) won't print '%' either.
Recommended Posts