DestroyItem in Unequiptest

Archive of the older Feature Request Forum Posts
Locked
Developer Silver
Apprentice Poster
Posts: 58
Joined: Sun Feb 05, 2006 1:34 pm

DestroyItem in Unequiptest

Post 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...
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Post 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.
Developer Silver
Apprentice Poster
Posts: 58
Joined: Sun Feb 05, 2006 1:34 pm

Post by Developer Silver »

Uhm... I've confused the 2 script types :oops:
I mean destroying items in their Unequip script causes trouble... ;)
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Post by MontuZ »

Oh, alrighty. Guess I have no answer for that one >.>

lol.
Locked