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 / Question about healing player

Author
Message
Soldier X1
19
Years of Service
User Offline
Joined: 10th Oct 2005
Location:
Posted: 3rd Aug 2006 22:42
Ok well I been testing my game and I have a quite a major problem. Well as you all probably know by now what ever your health is at by the end of one level is the max for the next. So I'm tring to think of a way to have the player heal when the game ends but becauese my game ends when you kill a curtain enemy it makes it a bit difficult. I don't want the player healing during the game only at the end of the level to get the health back up to 100. Anybody have any ideas? Thanks.
Komet
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location:
Posted: 3rd Aug 2006 22:45
Use a Health Zone or Pack?
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 3rd Aug 2006 22:49
You can place an automed on the wall near the end of the level where the player should see it.
Then they can use the automed to heal themselves.

Komet
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location:
Posted: 3rd Aug 2006 22:54
Automed... so much to learn about creating games with FPSC. One thought though Fred, if the game he is making is set in WW2 an automed might be too futuristic?

Maybe we need a medic
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 3rd Aug 2006 23:31
Whatever the script is that determines when you have killed the certain enemy and ends the game, add plraddhealth=100, or 500 or whatever full health is in your game, to the script.

Crazy Grandpa
Soldier X1
19
Years of Service
User Offline
Joined: 10th Oct 2005
Location:
Posted: 4th Aug 2006 04:43 Edited at: 4th Aug 2006 04:46
Komet: Well I could use a health zone if their was a way to make it work only after the game ends. I guess I would have to script it some how. Does anyone know how to do that?

FredP: The game is set in a world war 2 so it wouldn't fit in too well and probably wouldn't work, thanks for tring to help though.

xplosys: That's a good idea only problem is I don't use a script, I use the objective number in entity properties. Do you have any idea of how I could do that?

Edit:
Wait I have an idea! What if I do what xplosys says but make a special script for the destroy fpi of the entity? I'll have to try that. Though if thier is a better way please tell me I would be very thankful.

Login to post a reply

Server time is: 2024-11-25 09:48:48
Your offset time is: 2024-11-25 09:48:48