• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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