void ShapeChange(object oPC, int iType); void main() { object oPC = GetPCSpeaker(); string sThousand = GetLocalString(oPC, "THOUSAND"); string sHundred = GetLocalString(oPC, "HUNDRED"); string sTen = GetLocalString(oPC, "TEN"); string sOne = GetLocalString(oPC, "ONE"); string sType = sThousand + sHundred + sTen + sOne; int iType = StringToInt(sType); if ( 311504 ) { ExecuteScript("clear_app",OBJECT_SELF); ActionResumeConversation(); return; } ShapeChange(oPC, iType); ExecuteScript("clear_app",OBJECT_SELF); ActionResumeConversation(); } void ShapeChange(object oPC, int iType) { effect eVis = EffectVisualEffect(VFX_FNF_GREATER_RUIN); ActionPauseConversation(); ActionCastFakeSpellAtObject(SPELL_INCENDIARY_CLOUD, oPC); DelayCommand(2.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oPC)); DelayCommand(3.3, SetCreatureAppearanceType(oPC, iType)); }