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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use item to break window?
FreshKorruption Offline
Member

Posts: 94
Threads: 27
Joined: Oct 2011
Reputation: 1
#1
Use item to break window?

In my map there is a locked door and the only way to get out is to break open the window. Can someone help me script this and give me an example. I am thinking so that when a brick collides with it, it deactivates the normal window and activates a broken one in the same spot.

Custom Stories

-BrastaSauce

12-05-2011, 12:43 AM
Website Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: Use item to break window?

That's exactly how it works. Using a CollideCallback, just have the broken window activate and the regular one deactivate. Toss in some sounds and particles and you're good.

12-05-2011, 02:59 AM
Find
FreshKorruption Offline
Member

Posts: 94
Threads: 27
Joined: Oct 2011
Reputation: 1
#3
RE: Use item to break window?

(12-05-2011, 02:59 AM)Obliviator27 Wrote: That's exactly how it works. Using a CollideCallback, just have the broken window activate and the regular one deactivate. Toss in some sounds and particles and you're good.
Thanks, the only thing is that there is no active box on the entity.

Custom Stories

-BrastaSauce

12-05-2011, 04:00 AM
Website Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#4
RE: Use item to break window?

There under the Entities -> Special tabs.

12-05-2011, 07:06 AM
Find




Users browsing this thread: 1 Guest(s)