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 / Reset Enemy Character

Author
Message
Sting
13
Years of Service
User Offline
Joined: 18th Jan 2011
Location:
Posted: 23rd Jan 2011 20:23
I searched but to no avail.

I was wondering if it's possible to have enemy positions reset upon the player dieing?

For example, an enemy is chasing you, he catches up and kills the player. When the player re-spawns at last checkpoint or beginning of level it is reset?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 24th Jan 2011 02:44
Without modifying FPSC itself this will be tricky to get set up. Basically, the way I see it being done, you would set up all of your enemies to come from spawn points. When the player dies, have it automatically kill all of the enemies in the level and have them respawn at their original positions.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
Sting
13
Years of Service
User Offline
Joined: 18th Jan 2011
Location:
Posted: 24th Jan 2011 12:46
Cool, this seems worth a bash (hopefully not sacrificing performance).

Is there not a restart level action?

Login to post a reply

Server time is: 2024-11-24 13:40:10
Your offset time is: 2024-11-24 13:40:10