Hammerwatch Forum
Custom mapping and Mods => Editor Discussion => Topic started 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!
-
From the DestroyObject, use RMB instead of LMB and choose Last Spawned, that should do it.
-
Thats it, works!
THANK YOU!
-
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.