• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How to change item using code?

Newbie Spellweaver
Joined
Nov 24, 2016
Messages
5
Reaction score
3
Something like
ZCharacter::ChangeWeapon(enum eWeapon)
ZCharacter::OnChangeParts(enum eParts, int nID)
I can't recall exactly but that's about right.

Edit: ZPostRequestChangeWeapon & ZPostChangePart may also be needed, iirc they're peer-to-peer commands. So the other players can see.
 
Upvote 0