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!
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#11
RE: Wind Scare script problem!

(07-20-2011, 02:13 PM)MrCookieh Wrote: 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");}
}

Nope its okay check out this i found the problem. Very little mistake.

SetSwingDoorDisableAutoClose("WindDoor", true;

SetSwingDoorDisableAutoClose("WindDoor", true);

-.-

Anyways thanks for helping Smile


“Life is a game, play it”
07-20-2011, 02:17 PM
Find




Users browsing this thread: 1 Guest(s)