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 / You have failed...

Author
Message
Shim Kangrey
17
Years of Service
User Offline
Joined: 4th Feb 2007
Location: Upon Your Shadows
Posted: 25th Nov 2007 20:56
Now, again another easily-solved question thrown-out by Shim!

I was wondering how to make an entity with a script that is written to send me to the Game Over menu when I kill an entity. So when I kill an important character in my game, it sends me to the Game Over menu.

It might involve deducing the lives to 0 and the health to 1 then damaging the player for 1 health all at once... If you catch my drift.

--Go nuts, Shimy

The world is like an onion, there's disappointment in every slice.

Projects:
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 26th Nov 2007 02:34
Just have it use plraddhealth=-10000 when the entity dies.

Bad Monkey
17
Years of Service
User Offline
Joined: 1st Jan 2007
Location:
Posted: 26th Nov 2007 08:39
no inspire, that would just kill the player, not end the game.

you have to pause the game, then load up the 'end game' screen, then use the quit game command that returns to the main menu screen.

Buy some new FPSCreator Ready Characters at:
http://www.freewebs.com/fpscharacters/

Login to post a reply

Server time is: 2024-11-24 01:52:11
Your offset time is: 2024-11-24 01:52:11