Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / How can i make a door open after i spawn an enemy?

Author
Message
Desecrated Studios
13
Years of Service
User Offline
Joined: 16th Jan 2011
Location: Kirtona
Posted: 13th Jul 2011 23:27
This might be better in Product Chat, but for my game i have made it so when you walk down this hall the door at the end opens as the "thing" spawns. What i want is a script that can open a previously locked door when you spawn the "thing"

Im sorry, i hate making requests like this but i have no idea how i might script this. If anyone helps you shall get this penguin --> XD


If you can't see the image, see the attached in 1080p

-Josh
Website is under construction
System Specs: AMD Phenom x3 2.2GHz, 4GB DDR2 RAM, 1TB HD, HD Radeon 5770 1GB, 22in Acer Monitor

Attachments

Login to view attachments
SikaSina Games
16
Years of Service
User Offline
Joined: 5th Dec 2007
Location: Reading, UK
Posted: 13th Jul 2011 23:48 Edited at: 13th Jul 2011 23:48
Add "activateifused=1" to the leavecorpse script and set that as the zombie's Destroy script.



Set the IfUsed on the zombie's properties to the name of the door. Make sure the door has doorremote.fpi so it'll open when the zombie dies.

Hope that works .

-SSG

Sorry all for my furious departure a while ago (well, almost 8 months xD) after deep thought I have decided to return.

I apologise to those I offended.
Desecrated Studios
13
Years of Service
User Offline
Joined: 16th Jan 2011
Location: Kirtona
Posted: 14th Jul 2011 02:04
No no sorry, this game you can't fight the zombie. It's a horror game, and i just figured out how to do it after i posted this. Thanks for the info though, i will use that sometime i bet

-Josh
Website is under construction
System Specs: AMD Phenom x3 2.2GHz, 4GB DDR2 RAM, 1TB HD, HD Radeon 5770 1GB, 22in Acer Monitor

Login to post a reply

Server time is: 2024-11-24 06:24:19
Your offset time is: 2024-11-24 06:24:19