Jump to content

[C++ Help]When equip


Recommended Posts

watch in char_item. bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) i think.

Check for Type/Subtype. If it is right -> Message :)

 

#edit

here's the Equip Part:

case ITEM_COSTUME:
case ITEM_WEAPON:
case ITEM_ARMOR:
case ITEM_ROD:
case ITEM_RING:
case ITEM_BELT:
case ITEM_PICK:
	if (!item->IsEquipped())
		EquipItem(item);
	else
		UnequipItem(item);
	break;

Search Everyhere for:

EquipItem(item);

UnequipItem(item);

Greatz

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.