How to delete objects?

Ask for help

Moderators: Murderator+, Murderator

Post Reply
drowned
Posts: 17
Joined: 2005-03-06 02:57:06

How to delete objects?

Post by drowned »

i want to do a script like this

if uo.objatlayer('Lhand') then
uo.addobject('Left' , uo.objatlayer('Lhand'))
else
>>>>>>>> "Delete object Left" <<<<<<<<<<<
endif

But i dont know how to delete objects. :)
You're helping me a lot.. so thanx for all
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

uo.addobject('Left',0)

but this will not delete it, just clean

btw most programmers use variables to store object, not Objects tab you using now
drowned
Posts: 17
Joined: 2005-03-06 02:57:06

Post by drowned »

There's anyway to use sumthing like a global variable and then remove the global variable?
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

uo.[yhlp_SetGlobal]/[yhlp_GetGlobal]
uo.[yhlp_SetEasyUO]/[yhlp_GetEasyUO]
Post Reply