Page 1 of 1

Using bomb to activate?

Posted: Fri Sep 21, 2012 2:04 pm
by aaneton
I want to throw a bomb at a door and when it explodes the door opens/disappears.
Seem like receptor only take spells. I tried to modify bomb to use spell but no luck.
How should I approach this, any suggestions?

Re: Using bomb to activate?

Posted: Fri Sep 21, 2012 5:27 pm
by Darklord
Hmm maybe you could create a bomb which you place against the door rather than throw, could the door be merged with an Alcove somehow to allow you to place the bomb on it? If not maybe just place it on the floor next to the door?

Daniel.

Re: Using bomb to activate?

Posted: Sun Sep 23, 2012 11:13 am
by aaneton
I solved it by using alcove for placing the explosives. interestingly you can place alcoves that are not attached to walls. They look and work normally but you can walk through them. Which I solved by putting a object behind it. Now in need to figure out how to remove the alcove (and object behind it) when I blow it up. I could not find a script reference on unspawning or removing objects, only adding them.

Re: Using bomb to activate?

Posted: Sun Sep 23, 2012 11:32 am
by Darklord
Good work, hope you manage to figure out the next bit to, if anyone else has any ideas hopefully they'l give some clues. :)

Daniel.

Re: Using bomb to activate?

Posted: Sun Sep 23, 2012 11:46 am
by Lmaoboat
I don't believe you can get rid of the alcove, but you could make a custom one with no model I think.

Re: Using bomb to activate?

Posted: Sun Sep 23, 2012 2:07 pm
by aaneton
You are right, I solved it now by using a cutom created blocker the looks lika a wall, destroying it removes it :)
Now I need to add a socket on same wall so I can place the bomb there anyway even if it's not a real alcove.

Getting close :D