Page 1 of 1

printing integers

Posted: 2004-07-28 07:54:19
by supermudo
how can i use UO.Print() to show integer values??

may be dumb question, but there´s no documentation in english :(

Posted: 2004-07-28 08:07:16
by Sauza
UO.Print(str(Variable))

Posted: 2004-07-28 08:31:50
by supermudo
another question:

the function uo.GetHP() can´t seem to work....
i defined an object "dude" for my sparring dude at the objects tab, but teh code:

Code: Select all

var x = 0
x = uo.gethp("dude")
uo.print(str(x))


prints only 0´s to client