LoD_PRC8/_module/nss/npc_riddler1_con.nss

18 lines
452 B
Plaintext
Raw Normal View History

2023-09-21 21:20:34 -04:00
void main()
{
int iC = GetListenPatternNumber();
{
if ( iC == 1011 )
{
SpeakString( "You have done well, my child." );
object oPlaceable = GetObjectByTag("RiddleChest1");
effect eImplo = EffectVisualEffect(VFX_FNF_IMPLOSION);
location lImplo = GetLocation(oPlaceable);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eImplo, lImplo, 1.0f);
DestroyObject(oPlaceable, 1.0f);
}
}
}