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 / Making character die at staŕt of level?

Author
Message
RaVen3R
11
Years of Service
User Offline
Joined: 26th Dec 2012
Location:
Posted: 2nd Jan 2013 01:28
I wanted to ask if it is possible to make an character (example Aiko) die at start of level, so her body would be just lying on the floor when noticed?

Ravens do fly.
jmtmew
14
Years of Service
User Offline
Joined: 18th Feb 2010
Location: Developer Hell
Posted: 2nd Jan 2013 19:21
Right click on the character in the editor, change spawn life to 1, they'll die right away

“If Pac-Man had affected us as kids, we'd all be running around in dark rooms, munching pills and listening to repetitive electronic music.”
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 2nd Jan 2013 20:03
Or...

You can edit the character's main script to have the "runfpidefault=2" command, which tells it to run the destroy script. Something like this:



Then set the destroy script to "leavecorpse.fpi" located in the "scriptbank\destroy" folder.


There's no problem that can't be solved without applying a little scripting.

Login to post a reply

Server time is: 2024-11-27 09:30:25
Your offset time is: 2024-11-27 09:30:25