Yoko
http://forum.yoko.com.ua/

How to Save Object in a var?
http://forum.yoko.com.ua/viewtopic.php?f=20&t=1277
Page 1 of 1

Author:  Diablo [ 2004-09-03 05:33:57 ]
Post subject:  How to Save Object in a var?

Is there a way to save an object in a var instead of using the addobject.

If i used the addobject thing it keeps saying the Object Updated message and only way to block it is by using the set quiet 1 but using that also blocks UO.Print stuff.

Is there a way to not make it display that message witout sacrifising the others?

Author:  Thdin [ 2004-09-03 09:21:50 ]
Post subject: 

That's exactly what an addobject does.

Author:  Diablo [ 2004-09-04 21:26:10 ]
Post subject: 

yes it does add but when ever i have to change the serial of that object it keeps saying Object updated and kind of gets anoying after a few times. I don't want to turn quiet on cause it doesn't get any thing at all. Any way of doing this?

Author:  Lord Ruslan Nightmare [ 2004-09-04 21:29:36 ]
Post subject: 

Try to disable "Verbose menu" option

Author:  Diablo [ 2004-09-06 01:16:32 ]
Post subject: 

Verbos is always disabled for me and it still shows that.

Author:  Diablo [ 2004-09-06 01:59:20 ]
Post subject: 

hmm
Code:
UO.exec("set quiet 1")
   Uo.AddObject('CCorpse', "finditem")
Uo.Exec("set quiet 0")


Seems to work fine.

Hits on head
Why didn't i think of that before?

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/