Page 1 of 1

How to Save Object in a var?

Posted: 2004-09-03 05:33:57
by Diablo
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?

Posted: 2004-09-03 09:21:50
by Thdin
That's exactly what an addobject does.

Posted: 2004-09-04 21:26:10
by Diablo
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?

Posted: 2004-09-04 21:29:36
by Lord Ruslan Nightmare
Try to disable "Verbose menu" option

Posted: 2004-09-06 01:16:32
by Diablo
Verbos is always disabled for me and it still shows that.

Posted: 2004-09-06 01:59:20
by Diablo
hmm

Code: Select all

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?