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
Why the hell wont this work?!
Brute Offline
Member

Posts: 197
Threads: 10
Joined: Aug 2011
Reputation: 3
#1
Sad  Why the hell wont this work?!

////////////////////////////
// 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!





(This post was last modified: 12-09-2011, 03:52 PM by Brute.)
12-09-2011, 03:30 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)