Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wind Scare script problem!
MrCookieh Offline
Member

Posts: 157
Threads: 8
Joined: Jul 2011
Reputation: 0
#10
RE: Wind Scare script problem!

you forgot two } at the end.

replace your whole void LoopyTimerCounting with this:

void LoopyTimerCounting(string &in asTimer)
{AddLocalVarInt("Stage", 1);
float fEventSpeed = 0.5f;
switch(GetLocalVarInt("Stage"))
{ case 1:
SetSwingDoorClosed("WindDoor", false, false);
SetSwingDoorDisableAutoClose("WindDoor", true;
AddPropForce("WindDoor", 0, 0, 230.0f, "world");
FadeInSound("Sound_1", 2.0f, true);
break;
}
if(GetLocalVarInt("Stage") < 10){ AddTimer("thisloopsthetimer", fEventSpeed, "LoopyTimerCounting");}
}
07-20-2011, 02:13 PM
Find


Messages In This Thread
Wind Scare script problem! - by HumiliatioN - 07-20-2011, 12:28 PM
RE: Wind Scare script problem! - by Juby - 07-20-2011, 12:44 PM
RE: Wind Scare script problem! - by HumiliatioN - 07-20-2011, 12:56 PM
RE: Wind Scare script problem! - by MrCookieh - 07-20-2011, 12:59 PM
RE: Wind Scare script problem! - by HumiliatioN - 07-20-2011, 01:07 PM
RE: Wind Scare script problem! - by Roenlond - 07-20-2011, 01:20 PM
RE: Wind Scare script problem! - by HumiliatioN - 07-20-2011, 01:44 PM
RE: Wind Scare script problem! - by Roenlond - 07-20-2011, 01:50 PM
RE: Wind Scare script problem! - by HumiliatioN - 07-20-2011, 01:57 PM
RE: Wind Scare script problem! - by MrCookieh - 07-20-2011, 02:13 PM
RE: Wind Scare script problem! - by HumiliatioN - 07-20-2011, 02:17 PM



Users browsing this thread: 1 Guest(s)