How to Save Object in a var?

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Diablo
Posts: 16
Joined: 2004-07-22 16:41:14

How to Save Object in a var?

Post 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?
Thdin
Posts: 51
Joined: 2004-07-22 07:37:37

Post by Thdin »

That's exactly what an addobject does.
Diablo
Posts: 16
Joined: 2004-07-22 16:41:14

Post 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?
Lord Ruslan Nightmare
Expert!
Posts: 359
Joined: 2004-04-25 11:11:07
Contact:

Post by Lord Ruslan Nightmare »

Try to disable "Verbose menu" option
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
Diablo
Posts: 16
Joined: 2004-07-22 16:41:14

Post by Diablo »

Verbos is always disabled for me and it still shows that.
Diablo
Posts: 16
Joined: 2004-07-22 16:41:14

Post 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?
Post Reply