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
big Barrel ?
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#1
big Barrel ?

How can i break a big barrel with an dagger ?!
i tried somethings but it didn't worked.
my script
PHP Code: (Select All)
void OnStart()
{
AddUseItemCallback("""Cellar""Cellar""UsedKeyOnDoor"true);
AddEntityCollideCallback("Mes""Barrel""BarrelCreak"true1);
}


void MoveWall(string &in asEntityint alState
{
    if (
alState == -1)
    {
        
SetMoveObjectState("MoveWall"1);
        
SetLeverStuckState("secretlever", -1false);
        
PlaySoundAtEntity("""quest_completed.snt""MoveWall"0false);
    }

SetLevelDoorLocked("Cellar"false); 
PlaySoundAtEntity("""unlock_door.snt""Cellar"0false);
RemoveItem("Cellar");


void BarrelCreak(string&in asParentstring &in asChildint alState)
{
PlaySoundAtEntity("BarrelCreaking""explosion_rock_large.snt""Barrel"0.5ffalse);
SetPropHealth("Barrel"0);


i want that the barrel breaks. ( there is a lever inside the barrel )
so i can pull the lever and a wall is going to above...
and i got 1 question to about that thing... outside making custom background you need to... convert an image into a 6 Block things... i really forgot the name! i want to do some backgrounds Big Grin
08-20-2014, 05:33 PM
Find


Messages In This Thread
big Barrel ? - by Amnesiaplayer - 08-20-2014, 05:33 PM
RE: big Barrel ? - by burge4150 - 08-20-2014, 05:52 PM
RE: big Barrel ? - by Amnesiaplayer - 08-20-2014, 05:56 PM
RE: big Barrel ? - by burge4150 - 08-20-2014, 06:11 PM
RE: big Barrel ? - by Amnesiaplayer - 08-20-2014, 06:13 PM



Users browsing this thread: 2 Guest(s)