Page 1 of 1

How to delete objects?

Posted: 2005-05-18 17:26:13
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

Posted: 2005-05-18 18:12:02
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

Posted: 2005-05-18 18:45:51
by drowned
There's anyway to use sumthing like a global variable and then remove the global variable?

Posted: 2005-05-21 12:41:14
by Yoko
uo.[yhlp_SetGlobal]/[yhlp_GetGlobal]
uo.[yhlp_SetEasyUO]/[yhlp_GetEasyUO]