Page 1 of 1

DestroyItem in Unequiptest

Posted: Wed Jun 06, 2007 4:04 am
by Developer Silver
I've noticed that Destroying an item in a unequiptest script causes a lot of trouble to the core, so could be possibile to avoid this problem in some way? To prevent the problem I mean.
Reserving items during unequip, or making someway impossibile to destroy them in that moment...

Posted: Wed Jun 06, 2007 5:33 am
by MontuZ
unequiptest script is there to check if the item being unequiped is allowed/not allowed to be unequiped.

Destroy(item), should be handled in your unequip script that is executed when unequiptest returns 1.

Catch my drift? hehe.

Posted: Wed Jun 06, 2007 11:20 pm
by Developer Silver
Uhm... I've confused the 2 script types :oops:
I mean destroying items in their Unequip script causes trouble... ;)

Posted: Thu Jun 07, 2007 3:28 am
by MontuZ
Oh, alrighty. Guess I have no answer for that one >.>

lol.