Hey, I have a problem. On my RPG, if I quit/logout when a pokemon is still out, the pokemon freezes on the map. I can't seem to find a way to delete this when you logout.
This is what I did, when it was sent out I set a var
usr.SentOutPokemon1 = M (where M is the sent out pokemon)
And then on logout I set a nother var (not sure why, was having problems getting it to work so I tried something else)
var/SentOutPokemon = src.SentOutPokemon1 (also tried usr.SentOutPokemon1)
del(SentOutPokemon)
but this still doesn't work. The icon is still there.
Help Dx
ID:158539
Aug 9 2009, 5:04 pm
|
|
In response to AJX
|
|
Changed it to
mob at the bottom of send out I have usr.SentOutPokemon1 = M Didnt work |
In response to Xyphon101
|
|
Why don't you just try del SentOutPokemon1 ?
|
In response to Xyphon101
|
|
Nothing will execute after del(src). Deleting an object stops all of its procs.
|
In response to Garthor
|
|
Garthor wrote:
Nothing will execute after del(src). Deleting an object stops all of its procs. Thanks! |
del SentOutPokemon