Page 1 of 1

Hero Issues

Posted: Mon Feb 27, 2006 9:13 pm
by Alpha
I changed the hero in the LUA from Boba Fett to be the emporer on my test map and I can never get the hero to spawn now. I don't know what I'm doing wrong...

Here's my LUA section:

ReadDataFile("SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_hero_emperor",
"imp_fly_destroyer_dome" )

This really bothers me...

-Alpha

RE: Hero Issues

Posted: Mon Feb 27, 2006 9:21 pm
by darth_chooie
you need to find a line called SetHeroClass(IMP, "whatever") and replace whatever with "imp_hero_emperor"

RE: Hero Issues

Posted: Tue Feb 28, 2006 7:53 am
by Alpha
Thanks. That's in the LUA script, too right?