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
Nervly Offline
Junior Member

Posts: 40
Threads: 2
Joined: Feb 2012
Reputation: 0
#48
RE: 3 Questions: Cave In and Destroying bookshelf

(06-22-2012, 12:42 PM)FastHunteR Wrote: you don't need string& when they aren't callback syntax functions.
Also, do it under the cavein_function, since you want it to happen at the same time, also, by your move there, you got a function with nothing to do.
delete everything from cavein_function on and paste this:
void cavein_function(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "explosion_rock_large.snt", "cave_in_1", 0, false);
SetEntityActive("cave_in_1", true);
SetEntityActive("cave_in_2", true);
CreateParticleSystemAtEntity("ParticleSystem_1", "ps_break_cavein.ps", "cave_in_1", false);
}
Thank you so much for all your help!
First room is finished Smile

+1 Rep

EDIT:
You know that tunnel that has 2 ways? Where can I find it and how can I put it in the middle of a wall? Because I wouldn't be able to enter the tunnel because the wall would be blocking the entrance.
Do I have to edit the wall and make a hole on it?

Check it out!
http://www.youtube.com/Nervly

Please?
[Image: please-please-please.jpg]
(This post was last modified: 06-23-2012, 10:03 PM by Nervly.)
06-23-2012, 12:15 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 Nervly - 06-23-2012, 12:15 PM



Users browsing this thread: 1 Guest(s)