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

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

hello. this is the (FINALLY) final part of my Big Cellar -_-
i want that if i DROP a stone to the explosive, that it will EXPLODE.
but what happens?! only the effects are happening?! like some flames... and then the explosive is gone?! (nothing happened).
And if i just hold the stone in my hand and touch it with the explosive WITHOUT DROPPING IT it iwll explode... Immediately....
Can someone help me? Sad I'm Really... I worked more then 1 month for Cellar Sad It's Annoying to work for 1 map... Sad but it is a beautifull map... spending some time to make a map... (not fast)
But i'm really frustrated with this cellar. i hope i can finish this cellar Soon..

My Scriptings.

AddEntityCollideCallback("BamRock", "Bomb", "ExplodingRocks", true, 1);
AddUseItemCallback("", "ExplosiveTest", "PlaceBomb", "PlaceExplosive", true);

Name of my rock is : BamRock and name of explosive is Bomb.
ExplosiveTest is my *for now* bucket name. and PlaceBomb is the area to place the Explosive.

void ExplodingRocks(string &in asParent, string &in asChild, int alState)
{
SetPropHealth("BlockingRocks", 0);
PlaySoundAtEntity("epoxyignite", "12_epoxy_blow", "BlockingRocks", 0, false);
StartScreenShake(0.08, 2.5f, 0, 1.0f);
GivePlayerDamage(25, "BloodSplat", true, false);
PlayMusic("12_puzzle_cavein.ogg", false, 1, 0.0f, 10, true);
SetEntityActive("Bomb", false);
}

I have This.
(and this)
void PlaceExplosive(string &in asItem, string &in asEntity)
{
RemoveItem("FullBucket");
SetEntityActive("Bomb", true);
SetEntityActive("PlaceBomb", false);
}
but that works. but i want that the flames comes first, and then the exploding.
Can someone help meSad
10-01-2014, 09:13 PM
Find


Messages In This Thread
Cave-in Weird Explosion? (not good) - by Amnesiaplayer - 10-01-2014, 09:13 PM



Users browsing this thread: 3 Guest(s)