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
Can someone tell me what is wrong with this script? (again)
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Can someone tell me what is wrong with this script? (again)

You were missing a "}" at the end of the if/else statement, here's the revision:


void AcidPrepare(string &in asParent, string &in asChild, int alState)
{
if(GetSwingDoorClosed("Extract") == false)
{
SetMessage("Messages", "CloseDoor", 0);
}
else
{
AddTimer("", 2.0, "TimerSwitchShovel");
CreateParticleSystemAtEntity("", "blood.ps", "BloodArea2", false);
SetEntityActive("glass_1", false);
SetEntityActive("glass_2", true);
}
}

I rate it 3 memes.
07-21-2012, 03:42 PM
Find


Messages In This Thread
RE: Can someone tell me what is wrong with this script? (again) - by Adny - 07-21-2012, 03:42 PM



Users browsing this thread: 1 Guest(s)