PDA

View Full Version : Trying to trigger an explosion


Poddington
09-16-2008, 12:20 PM
I want an anti spawn bomb in my map and in the middle i have two buttons and at my spawn i've made a rudamentry bomb.

What i want to do is make it so you press the button, bomb goes bang. Can someone run me through how to achieve this. I think i have my stupid head on because i can't get it to work.

Thanks.

Punishment
09-16-2008, 02:45 PM
I'm assuming that your rudimentary bomb contains an env_explosion entity. If not, make one (and give it a name). On the outputs tab for the button, input this (the items in bold are the names of the fields:

My Output Named OnPressed
Target entities named "name of env_explosion"
via this input Explode

Poddington
09-16-2008, 03:02 PM
Thanks i think i'm gonna need a start to finish tutorial or something.

I have some brushes which are the bomb sitting in a corner called 'bomb1' and i have a button outside.

I don't really know much about the entities and the wiki site on it just telsl you what hammer does, which is what something is and not how to use it :p

I'm sure it's simple it's just escaping me :/

Poddington
09-16-2008, 03:08 PM
Yea ok sorted :p thanks