| 09-07-2004, 05:03 AM | #1 |
Whenever a hero dies, I have a trigger that plays who killed him and how much gold he made off him: HeroKillReward Events Unit - A unit Dies Conditions ((Triggering unit) is A Hero) Equal to True Actions Sound - Play Warning <gen> Set HeroKiller = (Owner of (Killing unit)) Player - Set HeroKiller Current gold to ((HeroKiller Current gold) + ((Hero level of (Triggering unit)) x 20)) Game - Display to (All players) the text: ((Name of HeroKiller) + ( has killed + ((Name of (Triggering player)) + ( and sold his ears for + ((String(((Hero level of (Triggering unit)) x 20))) + gold!))))) The problem is after the text/sound has been displayed, afterwards it says "Envemoned Spears Level 3" or Error Message Missing ... depending what allied force the killed hero belongs too... It seems that this text is replacing what would normally be the default: "your blah blah hero has fallen"... Anyone know what is causing this? Or more importantly how I can fix it? |
| 09-07-2004, 05:15 AM | #2 |
Well the error goes away when I go Stats- Hero Hide Hero Death = true in object editor :/ oh well =`( |
