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 / Destroy=open?

Author
Message
Drapes#10
17
Years of Service
User Offline
Joined: 1st Jan 2007
Location: Sireus 10 Game Studios
Posted: 29th Feb 2008 23:35
IS there a script so that when you destroy something or kill someone a door will open?

SirEus game studios =___MAKING DIFFERENT KINDS OF FPS___=
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 1st Mar 2008 00:16
I think so. If you go to your enemy and change the 'ifused' box to the name of your door, when killed the door should open. Make sure the door is one from the segments area and is a remote door.

Free Segment Packs: V1-http://forum.thegamecreators.com/?m=forum_view&t=124552&b=24
V2 - http://forum.thegamecreators.com/?m=forum_view&t=124709&b=24
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 1st Mar 2008 00:21
Enemies don't have ifused boxes, so you'll have to edit it's FPE to have one, them put the name you put in the FPE as your door, then give them the destroyandactivate death script...

Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 1st Mar 2008 13:13
Ah sorry

Free Segment Packs: V1-http://forum.thegamecreators.com/?m=forum_view&t=124552&b=24
V2 - http://forum.thegamecreators.com/?m=forum_view&t=124709&b=24
funnyfred
16
Years of Service
User Offline
Joined: 24th Dec 2007
Location:
Posted: 2nd Mar 2008 17:41
I don't know if I am right, but I thought there was a script called destroyandactivate, you could look at that one. I'll check that out as soon as possible.

Creativity is more important than knowledge.
Dark Samus
16
Years of Service
User Offline
Joined: 1st Dec 2007
Location: Phaaze
Posted: 3rd Mar 2008 19:43
Open up your entities .fpe file and change its destory script to destroyandactivate.fpi Then under the ai section, put in ifused=(name of your door). This can only be used for one enemy, really useful if you have a boss.

We are bound by the Dark Hunter's will...
Soon we will consume everything...

Login to post a reply

Server time is: 2024-11-24 06:37:38
Your offset time is: 2024-11-24 06:37:38