• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

inventory help

Status
Not open for further replies.
Level 3
Joined
Mar 7, 2010
Messages
29
hey i paste this form http://www.hiveworkshop.com/forums/...loads&order=DESC&search=inventory&d=list&r=20
It is advanced because it has some special options available...
it can be attached to Save/Load Systems...
you have the option to have items only equipable for some units...
items may change animations...
and many more...

and in the map there is write this

//----- For SAVE/LOAD systems use these functions: -----
//
// use this function to get the index of the equipped item of class xyz (save these values in your load code) ...
// GetEquipItemIndex (u, class) it returns an integer
// unit integer
//
// ... and this function to equip a new item by this index (which you read out from the load code)!
// EquipItemByIndex (u, index)
// unit integer
//
//
// to implement this system, just copy this trigger in your map
// it requires jngp to work well
//
// have fun^^
 
Status
Not open for further replies.
Top