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!
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#2
RE: Wind Scare script problem!

(07-20-2011, 12:28 PM)HumiliatioN Wrote: Why this is not working?

{
AddEntityCollideCallback("Player", "Event_Start_Collide_Area", "StartEvent", true, 1);
}

void StartEvent(string &in asParent, string &in asChild, int alState)
{
CreateParticleSystemAtEntityExt("awedsasf", "ps_dust_push_15.ps", "Particle_Spawn", false, 1.0f, 0.1f, 0.1f, 1, false, 1, 1, 1, 1);
AddTimer("asdtgeoqtfgd", 1.0f, "LoopyTimerCounting");
}

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");
}

"main (225,2): ERR : Unexpected end of file.

Damn! Help needed please!

There is a { instead of a ( at if{GetLocalVarInt("Stage").

if(GetLocalVarInt("Stage") < 10). Hopefully that is line 225.

Insanity. Static.
07-20-2011, 12:44 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)