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
Cave-in Weird Explosion? (not good)
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#5
RE: Cave-in Weird Explosion? (not good)

Ni mean this : player place the explosive.
when dropping rock... the sound is playing and flaming fire is upon the Bucket and then BOOOM
and i understand what you mean... i got this script from frictional games.. but it doesn't work ?! i have a new script like this :

PHP Code: (Select All)
void DaBigBoom(string &in asEntitystring &in asType)
{
    
AddTimer("sound"1"TimerBigBoomEvent");
    
AddTimer("1"4"TimerBigBoomEvent");
}

void TimerBigBoomEvent(string &in asTimer)
{
    if(
asTimer == "sound"){
        
PlaySoundAtEntity("epoxyignite""12_epoxy_blow""cave_in_1"0false);
        
StartScreenShake(0.01002.9f);
        return;
    }
    
    
SetEntityActive("Bomb"false);
    
    
SetPropHealth("BlockingRocks"0);
    
    
StartScreenShake(0.082.5f01.0f);
        
PlayMusic("12_puzzle_cavein.ogg"false10.0f10true);


and my callback func is this :
AddEntityCollideCallback("BamRock", "Bomb", "DaBigBoom", true, 1);
yes my rock name is BamRock and explosive name is Bomb.
the only thing that happen is flaming bucket after dropping a stone and then the bucket go away... nothing happens Sad the cave-in is still there :S
10-03-2014, 06:41 AM
Find


Messages In This Thread
RE: Cave-in Weird Explosion? (not good) - by Amnesiaplayer - 10-03-2014, 06:41 AM



Users browsing this thread: 1 Guest(s)