Yoko

All sides of Injection
It is currently 2025-12-20 13:34:13

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to delete objects?
PostPosted: 2005-05-18 17:26:13 
Offline

Joined: 2005-03-06 02:57:06
Posts: 17
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


Top
   
 Post subject:
PostPosted: 2005-05-18 18:12:02 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
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


Top
   
 Post subject:
PostPosted: 2005-05-18 18:45:51 
Offline

Joined: 2005-03-06 02:57:06
Posts: 17
There's anyway to use sumthing like a global variable and then remove the global variable?


Top
   
 Post subject:
PostPosted: 2005-05-21 12:41:14 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
uo.[yhlp_SetGlobal]/[yhlp_GetGlobal]
uo.[yhlp_SetEasyUO]/[yhlp_GetEasyUO]


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited