AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to make bomb explode (https://forums.alliedmods.net/showthread.php?t=245806)

Decak 08-07-2014 07:58

How to make bomb explode
 
Hello, when i use this code:

Code:

...
register_touch("grenade", "", "fw_Touch")

public fw_Touch(weapon, id) {
 // code
}

How to make a bomb explode? When bomb(grenade), touch anything, explode.How? Please demonstration.Sorry for bad english.

HamletEagle 08-07-2014 08:33

Re: How to make bomb explode
 
What bomb are you talking about ? If you are making a custom bomb, then you need to create an explosion effect and stuffs( what explosion should do), remove the bomb entity, etc.

Decak 08-07-2014 08:36

Re: How to make bomb explode
 
I mean grenade, how to make grenade explosion when it touch something? Sorry for bad english.


All times are GMT -4. The time now is 13:14.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.