Aller au contenu

Photo

[Help] SetItemDroppable - Where is the code for it? / Making SetItemInfinite


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
KigenBarzhad

KigenBarzhad
  • Members
  • 132 messages
Ok I'm trying to make a SetItemInfitine, to do that I'm trying to find the SetItemDroppable code.

Looking at the data, there is a SAVEGAME_ITEM_DROPPABLE of UINT8 that is either 1 or 0 (drops or doesnt).

Now I've tried different SetLocalInt(oItems[nCounts], "SAVEGAME_ITEM_DROPPABLE", 0); and they don't work.
So if anyone knows how where I could find the actual code in SetItemDroppable, please let me know.

Edit: I guess what I'm asking is how do I access that piece of information via code?

Modifié par KigenBarzhad, 10 avril 2010 - 01:19 .


#2
Schwinni

Schwinni
  • Members
  • 921 messages
If it's an item without runes, you could take it away from the character and give back with CreateItemOnObject while setting bDroppable to TRUE.

#3
KigenBarzhad

KigenBarzhad
  • Members
  • 132 messages
while true, I cant exactly do that with SAVEGAME_ITEM_INFINITE