HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

is my code with AAAInventory okay?

12-22-2007, 04:54 AM#1
Leopard
Hi friends.
I have a bug with AAAInventory, though the system seems work properly, but each time i save my map, i get this:


and about ur system, may u plx look at the way im using it ?

First, i call initbonusmod at map ini.
then, i set variable for each hero and set up the system for him.
the problem is, im also using the hero tavern, and i dont know if it will work well for all players, here is my code:

-event: a unit enter HERO TAVERN
-conditon: triggering unit is a hero
-action: move triggering unit instantly to HERO SPAWN
set HERO-AAAInventory = entering unit
call createSYSTEM (udg HERO=AAAInventory)
12-22-2007, 09:41 AM#2
Fireeye
About your syntax error, the function "DamagerGroup_Enum" needs to return a boolean, so add /replace following things.
1. Replace "returns nothing" with "returns boolean"
2. Add "return true" between the "call" and "endfunction"
Expand JASS:
About the other problem, i can not help you due i never used AAAInventory.
12-22-2007, 09:46 AM#3
zen87
i thought AAA have some fucntion like

Collapse JASS:
function CreateAdvanceInventory takes unit u returns nothing

this? just call this function for units that you want to make it have the AAA inventory...