ID:171775
![]() Aug 10 2004, 11:35 pm
|
|
does an object located in a persons screen get deleted when they log out? if not.. do i need to put in a code to delete them upon logout or will it not make a difference?
|
Siefer wrote:
does an object located in a persons screen get deleted when they log out? if not.. do i need to put in a code to delete them upon logout or will it not make a difference? If the obj does not exist on the map at all, then yes, it should be deleted. An obj will stick around as long as there's a reference to it somewhere. If you only have that reference in client.screen, then it will go away. If it's on the map too, though, or if it's in some list or var that did not get deleted along with the player, it'll stay around. Lummox JR |
Hell Ramen wrote:
._. HP is a variable. The HP variable in this case belongs to usr. Therefore usr.HP. del() is a proc that doesn't belong to anything, therefore it's del(usr). usr is an argument passed to del. If usr had a proc called, for example, Die(), it could be called with usr.Die(). |
o_O Something like that?