Yoko http://forum.yoko.com.ua/ |
|
New GetStatus http://forum.yoko.com.ua/viewtopic.php?f=4&t=1567 |
Page 1 of 1 |
Author: | Blade McKain [ 2004-10-09 12:40:42 ] |
Post subject: | New GetStatus |
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 |
Author: | Lem [ 2004-10-09 20:30:23 ] |
Post subject: | |
what kind of value should return? a serial? use "laststatus" hp?maxhp?notoriety?npc? there are commands to obtain those even... :\ |
Author: | Blade McKain [ 2004-10-10 10:32:48 ] |
Post subject: | |
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 |
Author: | Yoko [ 2004-10-10 14:25:57 ] |
Post subject: | |
,set injectecho 1 |
Author: | Blade McKain [ 2004-10-11 10:28:43 ] |
Post subject: | |
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 |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |