11 lines
365 B
Plaintext
11 lines
365 B
Plaintext
void main()
|
|
{
|
|
int nDisperse = d6(1);
|
|
location lLocation = GetLocation(GetWaypointByTag("Kel_Hero_Supp_Spwn_" + IntToString(nDisperse)));
|
|
object oTarget = GetObjectByTag("KelSuppBoss");
|
|
DestroyObject(oTarget);
|
|
int nRandom = d6( 1 ) +1;
|
|
string hero = "KuljherHero" + IntToString(nRandom);
|
|
CreateObject(OBJECT_TYPE_CREATURE, hero, lLocation, FALSE, "KelSuppBoss");
|
|
}
|