HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Level Detection

11-23-2003, 11:54 PM#1
Dragon
You know how creeps are labeled as like "Level 3" and "Level 5" and stuff? Is there any way to detect this? (Preferably without JASS, I know none of that)

What I'm trying to do is make a spell called Banish. You cast it on a unit and it instantly captures the unit forever, but of course this would be unfair if you used it on "Bob the Mystical Level 9999 Dragon". So I want the spell to not work if the guy its casted on is over a certain level.
11-24-2003, 12:27 AM#2
linkmaster23
hero level...jsut amke the high level guyz heros.itll save you alot of unessary work.+ its just flat out easier, i guess you could do it as yo usay. but then i would have to load the editor...o wait it already is, your inluck.wow, i cant find it right away. now i have to find it.Ok this is what i came up with. just make it so that if the unit uses 10 food then it wont do that. just go into the unit editor and make him have like a 10 food value. OR if its a player unit then i have no idea. Ill keep looking.
11-24-2003, 12:34 AM#3
FerretDruid
You could try changing Point Value. From what I can tell everything's default point value is 100 and I don't know what it's for. It could be used for deciding exp reward x Level of unit x any exp modifier (triggers, hero level in melee, etc). I don't know though, but you should try it out.
11-24-2003, 12:34 AM#4
Dragon
Hmm... food... thats an idea, but is there a way to detect how much food 1 guy uses?
11-24-2003, 12:39 AM#5
linkmaster23
yes thats what gave me the idea. here ill copy and paste it for u.

(Supply used by (Triggering unit)) Greater than or equal to 10


its found in the INTERGER Condtion

or if you want to use a player unit. make it so that the unit costs 1 extra food than it normally would and make it give 1 food. That was you could use this condition.

(Supply provided by (Triggering unit)) Greater than or equal to 1

hope that helps!
11-24-2003, 12:40 AM#6
ChaoticPeasant
Try basing it off the Charm ability(ONLY IF YOU HAVE TFT!), under Nuetral Hosilte-Heroes, you can change the max creep level it targets and it captures them forever. Hope this helps, :D .
11-24-2003, 12:47 AM#7
linkmaster23
then that would require triggering that i personally would not like. + it would nnot give the same effect. unless you created a dummy unit...that casted the move...yes that would work.

ThePersonThing if you want me to write you up the trigger i will. otehrwise you can use the orignal idea.
11-24-2003, 01:28 AM#8
ChaoticPeasant
Quote:
Originally posted by linkmaster23
then that would require triggering that i personally would not like. + it would nnot give the same effect. unless you created a dummy unit...that casted the move...yes that would work.

ThePersonThing if you want me to write you up the trigger i will. otehrwise you can use the orignal idea.

Eh? This would require no triggering to get it to work what-so-ever....