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 / Trying to Make a Door Open When a Monster Dies

Author
Message
CrescentMoon
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location:
Posted: 6th May 2010 18:23 Edited at: 6th May 2010 18:23
But I'm not exactly sure how ^^"

I've looked through the scripts (especially the activate used scripts) but I can't figure out how to set it so that when my boss character dies a remote door will open or an item will appear ;c (or a sound will play, hey if I can figure out one I can figure out the rest I think :x)

[WIP] Paranorma Chapter 1, The Beginnings
Level 1: The Lobby - 25% Complete
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 6th May 2010 20:45
Use this script for the door. Save it in your scriptbank folder and call it lockeddoor.fpi :



The next code, save it as killopendoor.fpi in your scriptbank folder:



Now when in FPSC, right click the character you are going to use and place the "killopendoor.fpi" script in the destroy field. Apply changes.

Then right click the door you are going to use and place the "lockeddoor.fpi" script in it's main field. Apply changes.

- BlackFox

CrescentMoon
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location:
Posted: 7th May 2010 01:04
So what kinda credit would you like me to add into the credits for you Fox since you just saved my game xD

[WIP] Paranorma Chapter 1, The Beginnings
Level 1: The Lobby - 25% Complete
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 7th May 2010 02:07 Edited at: 7th May 2010 02:10
Quote: "So what kinda credit would you like me to add into the credits for you Fox since you just saved my game xD"


I require no credit, thanks. I came across this before and I have kept a whole folder full of scripts and tips/tricks along my travels. Just wanted to share the knowledge we found from people like Plystire and others that helped us learn scripting. As long as it works for you and was helpful, I'm happy.

- BlackFox

CrescentMoon
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location:
Posted: 7th May 2010 04:12 Edited at: 8th May 2010 00:31
I vote you make a thread with all of them and get it stickied xD

on another note, will this kind of thing work if I want an item to spawn when a monster dies? Or when I want a monster to spawn when a weapon is picked up? (or do I have to edit some of the scripts to make that happen...I need to learn scripting :x)

[WIP] Paranorma Chapter 1, The Beginnings
Level 1: The Lobby - 25% Complete

Login to post a reply

Server time is: 2024-11-25 00:43:40
Your offset time is: 2024-11-25 00:43:40