// iona dies NOT
location ILoc = GetLocation(oIona);
KillCreature(oIona,oHowePC);
object oIonaLives =
CreateObject(OBJECT_TYPE_CREATURE, R"iona_lives.utc", ILoc);
SetGroupId(oIonaLives,GROUP_FRIENDLY);
SetLocalInt(oIonaLives,CREATURE_DO_ONCE_A,TRUE);
AddNonPartyFollower(oIonaLives);
Safe_Destroy_Object(oIona);
//float IHealth =
(GetCurrentHealth(oIonaLives)/2);
//SetCurrentHealth(oIonaLives,
IHealth);
WR_SetPlotFlag(PLT_IONA_PLOT, IONA_KILLED, FALSE);
Since I didn't touch the cutscene, she still gets hit by an arrow nad falls down. the original is destroyed and a copy is spawned, but I'd like that copy to be hurt.
I tried the part that commented out, because ti didn't work. any ideas?
Modifié par Lotion Soronnar, 23 janvier 2010 - 09:58 .





Retour en haut






