• Destruction
    7 replies, posted
Hi, I'm making a Garry's Mod map and I want to make a small spot on the map where I can drop props and entities, and when they get close to the bottom of the pit thingy they disintegrate. I saw it done on a 'sb_' map. Can anyone help me? I really want to have this on my map. Thanks, Animegirl15
trigger_hurt [editline]2nd August 2011[/editline] [url]http://developer.valvesoftware.com/wiki/Trigger_hurt[/url]
[QUOTE=sphinxa279;31485126]trigger_hurt [editline]2nd August 2011[/editline] [url]http://developer.valvesoftware.com/wiki/Trigger_hurt[/url][/QUOTE] It's not destroying "item_battery" that i spawned to test it. Am I doing something wrong?
Trigger_hurt will only damage the props entering, meaning only break-able props will be destroyed. Try making a trigger_multiple with an output something like this: on_trigger !activator (if I remember it correctly) kill
trigger_remove or something. next time use the questions megathread, okay?
[QUOTE=Tottrot;31485601]Trigger_hurt will only damage the props entering, meaning only break-able props will be destroyed. Try making a trigger_multiple with an output something like this: on_trigger !activator (if I remember it correctly) kill[/QUOTE] Remember to set the flags to props and physics objects but NOT players as killing a player this way will crash the game. Also OP, don't sign your posts.
Sorry OP didn't see you wanted it to kill entities as well :v:
If you want to make them dissolve (Not just vanish like with a 'kill') you will need a trigger_multiple and a Env_entity_dissolver ([url]http://developer.valvesoftware.com/wiki/Env_entity_dissolver[/url]) Call the Env_entity_dissolver something such as 'dissolver_1' (Whatever you want it to be) Set the flags on the trigger_multiple as desired. Now give the trigger_multiple the output of: OnStartTouch > dissolver_1 > dissolve > !activator And that should do the trick, they now fizzle (Dissolution effect can be selected from the env_entity_dissolver) instead of just poof!
Sorry, you need to Log In to post a reply to this thread.