The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
Wind Scare script problem!

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!

“Life is a game, play it”
07-20-2011, 12:28 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: 2 Guest(s)