Page 1 of 1
New GetStatus
Posted: 2004-10-09 12:40:42
by Blade McKain
Yoko Can you implement a new GetStatus that return the value into a variable and not only print on screen
i ask this why the GetStatus return correctly the name of the object also on RunUOShard
thx you
Posted: 2004-10-09 20:30:23
by Lem
what kind of value should return?
a serial? use "laststatus"
hp?maxhp?notoriety?npc?
there are commands to obtain those even... :\
Posted: 2004-10-10 10:32:48
by Blade McKain
GetStatus print the name, and the Hp of the object
but the GetName Command on RunUO Shard don't work correctly
the only way to Get the Name is using the GetStatus and search it in the Journal but this is very hard and not sure
my opinion is that ALL function of Injection would have return a value and not only print
if i want print a value i use uo.print
Posted: 2004-10-10 14:25:57
by Yoko
,set injectecho 1
Posted: 2004-10-11 10:28:43
by Blade McKain
i use ,set injectecho 1 but before to search the name in the journal i must wait 2 second or I do not find it and many times I do not find it
I ask myself why many functions print the value directly when you have put to our disposition uo.print
if i want print a value i use uo.print