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 Product Chat / Dropping Keys

Author
Message
Programmer of Power
19
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Home
Posted: 5th Oct 2005 01:43
Hey, I want an enemy to drop a key after he dies. Can you tell me how to do this?

"I will work harder... if you ask me enough times."
Programmer of Power
19
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Home
Posted: 5th Oct 2005 23:37
Anybody have an answer?

"I will work harder... if you ask me enough times."
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 6th Oct 2005 00:32
You'd better consider the enemy itself as the key to collect.
Programmer of Power
19
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Home
Posted: 6th Oct 2005 13:20
??? Wow that really comfused me. How can the enemy be a key?

Could I do a script that made the key visible if the enemy was dead?

"I will work harder... if you ask me enough times."
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 6th Oct 2005 17:28
Quote: "Could I do a script that made the key visible if the enemy was dead?"


Maybe, but I don't imagine how now.

Quote: " ??? Wow that really comfused me. How can the enemy be a key? "


You can modify the destroy script of the enemy so that when the player gets close enough just "picks the enemy" as if it were a key (the enemy then vanishes from the screen).

Then write the name of the enemy in the "Use Key" property of the dynamic entity you want to use (door or whatever).
Programmer of Power
19
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Home
Posted: 7th Oct 2005 03:36
??? Um? So, I make it so when I get close to the enemy it goes away? Couldn't I just make it so if he was destroyed and I got close enough to the corpse, it gives me a key? I dunno.

"I will work harder... if you ask me enough times."

Login to post a reply

Server time is: 2024-11-23 17:35:51
Your offset time is: 2024-11-23 17:35:51