18 lines
452 B
Plaintext
18 lines
452 B
Plaintext
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);
|
|
}
|
|
}
|
|
}
|
|
|