| 12-22-2007, 09:41 AM | #2 |
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" JASS:function DAmagerGroup_Enum takes nothing returns boolean call GroupAddUnit(bj_groupAddGroupDest, GetFilterUnit()) return true endfunction |
| 12-22-2007, 09:46 AM | #3 |
i thought AAA have some fucntion like 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... |
