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
Why the hell wont this work?!
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Why the hell wont this work?!

(12-09-2011, 03:30 PM)Brute Wrote: ////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("LeverExit" , "ShelfDestroyer" , "OpentheExit" , true , 1);
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}
////////////////////////////
// Actual functions

void OpentheExit(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("SHELF", false);
PlaySoundAtEntity("", "levelexitopen.snt", "LeverExit", 0.5f, false);
}

====================================================
Help, I am freaking out! Angry
The Shelf didn't dissapear!
Some entities don't deactivate in amnesia. Such as the desk and tables.

12-09-2011, 03:43 PM
Find


Messages In This Thread
Why the hell wont this work?! - by Brute - 12-09-2011, 03:30 PM
RE: Why the hell wont this work?! - by flamez3 - 12-09-2011, 03:43 PM
RE: Why the hell wont this work?! - by Acies - 12-09-2011, 03:45 PM
RE: Why the hell wont this work?! - by flamez3 - 12-09-2011, 03:49 PM
RE: Why the hell wont this work?! - by Brute - 12-09-2011, 03:51 PM



Users browsing this thread: 1 Guest(s)