|
Post by Ananas on Mar 23, 2009 14:23:28 GMT
HI, how can i do tath if i press " E " on a Button i Die? ^^
Becuse im making a Nice Jail to a Map i Made.. 1 button is the Right and i have 7 more tath isnt rite.. so? ??
|
|
|
Post by 3kliksphilip on Mar 24, 2009 7:59:03 GMT
You could make the button activate a trigger_hurt around where the button is, that could kill the person pressing it.
|
|
|
Post by Ananas on Mar 26, 2009 14:26:36 GMT
Ty man! that vreeely helped!
|
|
|
Post by gordonfreemannr2 on Mar 31, 2009 19:59:42 GMT
Or you could just try giving the button this output ''OnPressed-!activator-SetHealth-0''
You can also change the !activator to !player if you want. I think that should work but the example philip gave you should work to.
(PS I know I probably was a lil late on this one but heck. Better late than never ^^.)
|
|
|
Post by 3kliksphilip on Mar 31, 2009 22:21:57 GMT
...and that's how you're meant to do it
|
|