Someone good with jass??

Joshman_09

New Member
Reaction score
2
MMk i found this super sweet inventory system i want in my map. However its all in jass which sadly i know nothing about...

SO i was hoping some could possibly put it in my map for me? if not thats alright i suppose if so ill give reps and credits in my map.
 

Carnerox

The one and only.
Reaction score
84
The guy even wrote how too add it into your map.

JASS:
//
// here are the included functions:
//
// 1.to give a unit the inventory use
//
// call InitInventory(ToWhichUnit)
// unit
//
// 2.To get rid of a inventory just use
// call DestroyInventory( which unit's)
// unit
//
// 3.to register an item for this system use(if the item shouldn't be equipable enter 0 for UsedSlotWhenEquipment. the abilities can be 0 then, too.)
// call RegisterItem(itemid, ItemDescription, PathToIcon, ability1, ability2, ability3, UsedSlotWhenEquipment)
// integer string string integer integer integer integer
//
// 4.to check whether you have an item already registered use(it will return true or false)
// call IsItemRegistered(itemid)
// integer
//
// 5.to force dropping of a item use (it will drop the first found item of that type)
// call DropItemById(fromWhich, itemid)
// unit integer
//
// 6.to remove an item directly use ( it will remove the first found item of that type)
// call RemoveItemById(FromWhichUnit, itemid)
// unit integer
//
// 7.to check whether a unit has an item of type xy use
// call UnitHasItemOfId(WhichUnit, itemid)
// unit integer
//
// 8.to change the description of a registered itemtype use
// call ChangeItemDescription(itemid, newdescription)
// integer string
//
// 9.to manually enable/disable the auto add for a specific unit use
// call ForceAutoAdd(forwhich, flag)
// unit boolean
//
// to implement this system, just copy this trigger in your map
// it requires jngp to be edited/saved
//
 

Joshman_09

New Member
Reaction score
2
Like i said im completely hopeless when it comes to jass or jngp or w.e

I know this may be a bit much to ask for but eh never know til ya try right?
 

tooltiperror

Super Moderator
Reaction score
231
JASS:
// to implement this system, just copy this trigger in your map


If you can not do this, you should not have been able to find it in the first place.
 

Joshman_09

New Member
Reaction score
2
if u just straight up copy it, ull get a ton of errors. After doing a bit of searching apparently u need jgnp or something like that, which again im inexpierenced.
 

Sevion

The DIY Ninja
Reaction score
413
If you don't have JNGP, you should get it. It's an accepted standard in the WarCraft III Modding world and there will be next to zero resources available for you.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top