17 lines
506 B
Plaintext
17 lines
506 B
Plaintext
|
//Put this OnDeath
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPillar = GetObjectByTag("Obelisk_temple");
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_WEIRD), GetLocation(oPillar));
|
||
|
DestroyObject(oPillar, 3.0);
|
||
|
|
||
|
|
||
|
|
||
|
object oTarget = GetObjectByTag("templedemon");
|
||
|
DelayCommand(4.0, AssignCommand(oTarget, ActionSpeakString("Noooooooooooooooo!")));
|
||
|
DelayCommand(5.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DEATH), GetLocation(oTarget)));
|
||
|
DestroyObject(oTarget, 6.0);
|
||
|
}
|
||
|
|