Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: devillol on June 26, 2014, 03:32:30 AM

Title: [Resolved]How to destroy a SpawnObjetc?
Post by: devillol on June 26, 2014, 03:32:30 AM
Hello there!  :)

I have the game for a few months, and now I'm trying to create some custom maps, saw some tutorial videos, and I learned a lot on this forum!

My scenario is: When the player enter the area, the gate spawn (SpawnObject doodads/theme_b/b_h_16_16_fence) and must disappear after clear the room from mobs/monsters. I can't link with DestroyObject, only with Ctrl+Alt (that doesn't work). Is there a way? Another suggestion?


Thank You!
Title: Re: How to destroy a SpawnObjetc?
Post by: Hipshot on June 26, 2014, 01:38:48 PM
From the DestroyObject, use RMB instead of LMB and choose Last Spawned, that should do it.
Title: Re: How to destroy a SpawnObjetc?
Post by: devillol on June 26, 2014, 06:27:47 PM
Thats it, works!

THANK YOU!
Title: Re: [Resolved]How to destroy a SpawnObjetc?
Post by: Linaru on July 03, 2014, 03:28:34 PM
when build these kinds of doors i prefer to use the hide object and toggle physics scripts to turn them on and off. it does not make a huge difference, just another way to create it.