• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

vJass library problem

Status
Not open for further replies.
Level 5
Joined
Jul 24, 2008
Messages
106
Hello Hive!
I'm trying to import a vJass system that requires many libraries, and UnitIndexer is one of them. When I try to save, it says that there is a (function redeclared: GetUnitId), one that is in the AIDS library.

JASS:
function GetUnitId takes unit u returns integer

I can't really get rid of these, coz other spells require AIDS.
How do I fix this?
 
Level 5
Joined
Jul 24, 2008
Messages
106
Argh. Still can't get it to work, I tried disabling the AIDS Library, still there were errors. It's really like an annoying chain of errors, I disable one lib, (to fix one error) then a new error appears.

I was trying to implement Magtheridon96's http://www.hiveworkshop.com/forums/...-0-0-a-203324/?prev=search=streak&d=list&r=20.

The following libraries are in my map:
> AIDS, List, TimedBuffEffects, Damage, Event, GroupUtils, TimerUtils, DestructableLib, BoundSentinel, xebasic, xefx, xedamage, GT, T32, and Math.

Here are the abilities that I imported: (for all of which, credits have been given)
> http://www.hiveworkshop.com/forums/...-1-a-197419/?prev=search=myrmidon&d=list&r=20 by iAyanami
> http://www.hiveworkshop.com/forums/...57362/?prev=search=thunder%20bolt&d=list&r=20 by scorpion182
> http://www.hiveworkshop.com/forums/...a-142062/?prev=search=fire%20wall&d=list&r=20 by maskedpoptart
> http://www.hiveworkshop.com/forums/...1b-197302/?prev=search=forestborn&d=list&r=20 by Tommerbob

I NEED HELP... :vw_death:
 
Level 31
Joined
Jul 10, 2007
Messages
6,306
So what you need to do is modify the code of systems that use AIDS or UnitIndexer to use one system or the other. iAyanami's spells always use AIDS. j4l's systems always use AIDS. Bribe's stuff typically uses GUI Unit Indexer. Mag's stuff uses UnitIndexer. So yea, pick a sysetm and then mod code to work with that system.
 
Status
Not open for further replies.
Top