• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[vJASS] Help importing The_Witcher equipment system

Status
Not open for further replies.
Level 20
Joined
Jul 14, 2011
Messages
3,213
Title says it.

I imported the codes, added the items in the trigger, and everything else, but my unit doesn't get the "Open Equipment" ability and, off course, and all the equipment says "Cant equip ..." when trying to equip.

I have already asked him, but haven't received any answers.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Thanks for reading and helping! I attached the map.

I added the RawCode for the items, the classes and the abilities, icons, etc. I think the main problem is adding the inventory to the unit that's being sold... (Check in the 'Hero Selection' Trigger under 'Hero' Category)
 

Attachments

  • Gsu'h Will V003.w3x
    841.9 KB · Views: 53
Level 20
Joined
Jul 14, 2011
Messages
3,213
I removed locust from the dummy.

"Data - Option -> Visible for the Open Inv..." is only available for Open Inventory and Exit Inventory. I did as you said. The inventory slots are based on passive, just like the original system demo map, and "Data - Option" is unavailable

However... it keeps displaying:
Unable to allocate id for an objetc of type: Equipment
Attemp to destroy a null struct of type: Equipment
I've checked all the raw codes in the Equipment System and Init items and they're all Ok =/
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Lol xD I forgot these even exist xD
Done. They're all visible now.

The thing is that the 'Open Inventory' isn't even added to the unit...
EDIT: OH YEAH! The system displays the same message, but the Ability to open the inventory and else now appear xD
 
Status
Not open for further replies.
Top