Frictional Games Forum (read-only)

Full Version: Jumpscares
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(08-15-2012, 07:47 PM)GoranGaming Wrote: [ -> ]void OnStart()
{
SetPlayerHealth(0);
}
Am I doing it right?


void OnStart()
{
for(int i=1;i<=72;++i)
SetEntityActive("flying_naked_guy_" + i, true);
AddTimer("", 0.2f, "Sound");
}

void Sound(string &in asTimer)
{
PlayGuiSound("24_iron_maiden", 1.0f);
AddTimer("", 0.2f, "Sound");
}
Pages: 1 2 3