18 lines
486 B
Plaintext
18 lines
486 B
Plaintext
|
void main()
|
||
|
{
|
||
|
int iC = GetListenPatternNumber();
|
||
|
{
|
||
|
if ( iC == 1051 )
|
||
|
{
|
||
|
|
||
|
SpeakString( "So... Smart but not evil enough. What a shame. Now leave me be!" );
|
||
|
object oPlaceable = GetObjectByTag("RiddleChest5");
|
||
|
effect eImplo = EffectVisualEffect(VFX_FNF_IMPLOSION);
|
||
|
location lImplo = GetLocation(oPlaceable);
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eImplo, lImplo, 1.0f);
|
||
|
DestroyObject(oPlaceable, 1.0f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|