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 / No Enemies Remaining Trigger?

Author
Message
Crimson Night
20
Years of Service
User Offline
Joined: 26th Feb 2006
Location:
Posted: 10th Feb 2011 12:34
Is it possible for a trigger to be 'no enemies remaining in a level'? If so what would the code be for such a thing?
Basically I want a key to appear to a final room when there are no enemies left - thank you!

www.crimsonnight.com
Scurvy Lobster
20
Years of Service
User Offline
Joined: 3rd Mar 2006
Location: Denmark
Posted: 10th Feb 2011 13:58
This is covered in the community guide part 1. I used it when making Kill The Avatars for opening certain doors after I had killed the right enemies.

The guide is in the FPSC -> Docs folder.

Scurvy Lobster
20
Years of Service
User Offline
Joined: 3rd Mar 2006
Location: Denmark
Posted: 10th Feb 2011 14:48 Edited at: 10th Feb 2011 14:48
Hmm... maybe I was a bit too fast there.

Part of the problem is easy however. Give every enemy in the level an IsObjective number. 1, 2, 3...

That way the level will end when all enemies are dead.

You could then load a level where the key is present if nothing else works.

Crimson Night
20
Years of Service
User Offline
Joined: 26th Feb 2006
Location:
Posted: 10th Feb 2011 15:32
Thanks for that, it all seems too complicated though T_T maybe i'll just do a game win when all enemies are dead - i remember that being really easy to do, but for some reason i've totally forgotten and can't find anything in the manual about it - would you mind jogging my memory?

www.crimsonnight.com
Scurvy Lobster
20
Years of Service
User Offline
Joined: 3rd Mar 2006
Location: Denmark
Posted: 10th Feb 2011 15:44
Go into the settings of your enemies (right click on them) and use IsObjective.

Login to post a reply

Server time is: 2026-07-01 22:11:35
Your offset time is: 2026-07-01 22:11:35