Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Level Editor Help New Question: How to create a door
Cruzore Offline
Senior Member

Posts: 301
Threads: 2
Joined: Jun 2012
Reputation: 37
#2
RE: 3 Questions: Cave In and Destroying bookshelf

For 1 & 2:
Under Entities>Special, there is the cave_in as an entity. So it has a active checkbox. This way you can set it inactive, set it active when you need to, add some sound and you got your cave in.
For the 3rd:
Under Entities>storage, you can use all bookshelves. Just use a AddUseItemCallback(look on the engine scripts page on the wiki for details) and you can set the shelf inactive as a result. Might want to either let the player fadeout, or force him to watch somewhere else, since seeing a shelf disappear is not that good.
I am pretty sure there are other soultions for 3, but this is one.
06-20-2012, 01:22 PM
Find


Messages In This Thread
New Question: How to create a door - by Nervly - 06-20-2012, 12:55 PM
RE: 3 Questions: Cave In and Destroying bookshelf - by Cruzore - 06-20-2012, 01:22 PM



Users browsing this thread: 1 Guest(s)