HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Kill = Crash?

07-01-2007, 10:49 PM#1
Tide-Arc Ephemera
Ok, in my map, I used Pyrogasm's method of adding the hero icon to a unit. Now I face one problem...

Crash.

The game crashes when ever my panda unit kills a unit (I'm testing against a Dreadlord). When he's just about to deliver the final blow, when the animation reaches the damage point but just before damage, POOF. It crashes.

There are no triggers that check upon death or killing a unit, there are no abilities based on killing a unit on the panda, the closest thing he has to that is a modified Feedback which is just changed numbers with no triggers.

I don't get it. Could anybody help?
07-02-2007, 12:02 AM#2
Ammorth
I have a feeling its try to add exp to a unit that doesn't have exp... Not sure how to fix this though.
07-02-2007, 12:02 AM#3
Tide-Arc Ephemera
So... you mean the problem is that it's still trying to gather experience like a normal hero, but it's not a hero, therefore it will crash the game?

Would it help if I set hero exp gain to 0%?
07-02-2007, 12:09 AM#4
sas_Skorpion
About setting the exp rate to 0 could be a good idea but to every level ... u know in standard melee games heroes dont get exp on lvl 5 from normal units ... or u can put the exp range = 0 :) or ... there is a setting that let u ignore exp if your max level :P just put max level 1 or maybe 0 ill try later when i have time to find any other methods
07-02-2007, 12:47 AM#5
Tide-Arc Ephemera
My map's main mechanic is basically the vampirism effect, so I do need the evil guy to level...
07-02-2007, 01:03 AM#6
sas_Skorpion
How about the last option then :P put the Max level exp drain off ... and set your unit to the max level :)
07-02-2007, 01:44 AM#7
Tide-Arc Ephemera
I'll try that... doesn't work.
07-02-2007, 02:00 AM#8
TheSecretArts
its a gui action and is something like disable exp for player/unit
OR
a rly fancy spellbook! Youve given me an idea for a system; Hero Emulator... i can see it already...
07-02-2007, 02:08 AM#9
Tide-Arc Ephemera
Quote:
Originally Posted by TheSecretarts
its a gui action and is something like disable exp for player/unit

Done it, crashed.
07-02-2007, 02:18 AM#10
TheSecretArts
ill try to whip u up something spellbook based, i wont be able to test it but it should suffice... now all i need is a flash drive to put jasscraft in!
07-02-2007, 02:21 AM#11
Tide-Arc Ephemera
Pyrogasm used "Chaos" as a method of transformation... this is the trigger I'm using...
Trigger:
Spawn Panda
Collapse Events
Time - Elapsed game time is 0.01 seconds
Conditions
Collapse Actions
Unit - Create 1 Pandaren Brewmaster for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Hero - Disable experience gain for (Last created unit)
Hero - Set (Last created unit) Hero-level to 15, Hide level-up graphics
Hero - Modify unspent skill points of (Last created unit): Set to 0 points
Unit - Add PANDA To Arcane to (Last created unit)
Special Effect - Create a special effect attached to the weapon of (Last created unit) using Phoenix_Missile_miniPurple.mdx
Special Effect - Create a special effect attached to the weapon of (Last created unit) using snapMissilePurple.mdx

I know it leaks, that's besides the point. The hero level thing was suggested by SAS_Scorpion.
07-02-2007, 02:29 AM#12
TheSecretArts
I dont know much about what ur doing, elaborate please.
07-02-2007, 02:32 AM#13
Tide-Arc Ephemera
That's creating a unit, adding flashy effects etc.

PANDA To Arcane is an ability based on Chaos which turns the Brewmaster (hero) into a Pandaren Arcanist (non-hero) and it turns off all possible methods of experience gain.

Still... Kill = Crash
07-02-2007, 02:36 AM#14
TheSecretArts
okay... why have hero ability icon when it cant level? it doesnt do anything.
07-02-2007, 02:39 AM#15
Tide-Arc Ephemera
Sigh... I need that icon because I don't want to have it as a worker, but I want it to be easily trackable.