Author Topic: [Resolved]How to destroy a SpawnObjetc?  (Read 4335 times)

devillol

  • Posts: 7
  • Maggot Crusher.
    • View Profile
[Resolved]How to destroy a SpawnObjetc?
« 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!
« Last Edit: June 26, 2014, 06:28:25 PM by devillol »

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: How to destroy a SpawnObjetc?
« Reply #1 on: June 26, 2014, 01:38:48 PM »
From the DestroyObject, use RMB instead of LMB and choose Last Spawned, that should do it.

devillol

  • Posts: 7
  • Maggot Crusher.
    • View Profile
Re: How to destroy a SpawnObjetc?
« Reply #2 on: June 26, 2014, 06:27:47 PM »
Thats it, works!

THANK YOU!

Linaru

  • Moderator
  • Posts: 113
  • That Collectable coin is mine!
    • View Profile
Re: [Resolved]How to destroy a SpawnObjetc?
« Reply #3 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.
-----------------------------------------------------------
Stabaddey Stabaddey Zap
-----------------------------------------------------------