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
What's wrong with this lever?
SkuLLfac3 Offline
Junior Member

Posts: 48
Threads: 11
Joined: Jun 2011
Reputation: 0
#1
What's wrong with this lever?

Hey,

I have a problem with my script. But I can't find the mistake. Someone may find it? Huh


void OnStart()
{


    
SetEntityPlayerInteractCallback("lever_easteregg", "Open_easteregg", true);
}


void Open_easteregg (string &in asEntity)
{
     PlaySoundAtEntity("", "door_large_castle_open.snt", "shelf_easteregg", 1.0 / 2, false);
     SetEntityActive("shelf_easteregg",false);
     SetEntityActive("shelf_easteregg2",true);
}


void OnEnter()
{

}

Thanks Smile

[Die Latrine der Angst] The demo of my 1st story (:
07-09-2011, 12:19 AM
Find


Messages In This Thread
What's wrong with this lever? - by SkuLLfac3 - 07-09-2011, 12:19 AM
RE: What's wrong with this lever? - by Kyle - 07-09-2011, 12:23 AM
RE: What's wrong with this lever? - by SkuLLfac3 - 07-09-2011, 12:58 AM
RE: What's wrong with this lever? - by Kyle - 07-09-2011, 01:10 AM
RE: What's wrong with this lever? - by SkuLLfac3 - 07-09-2011, 01:41 AM
RE: What's wrong with this lever? - by Kyle - 07-09-2011, 02:26 AM
RE: What's wrong with this lever? - by SkuLLfac3 - 07-09-2011, 02:43 AM



Users browsing this thread: 1 Guest(s)