LoD_PRC8/_module/nss/npc_riddler3_con.nss

18 lines
491 B
Plaintext
Raw Normal View History

2023-09-21 21:20:34 -04:00
void main()
{
int iC = GetListenPatternNumber();
{
if ( iC == 1031 || iC == 1032 )
{
SpeakString( "Correct. And remember... Balance is the only real way." );
object oPlaceable = GetObjectByTag("RiddleChest3");
effect eImplo = EffectVisualEffect(VFX_FNF_IMPLOSION);
location lImplo = GetLocation(oPlaceable);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eImplo, lImplo, 1.0f);
DestroyObject(oPlaceable, 1.0f);
}
}
}