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 / Stage Finished If certain NPC's die

Author
Message
Yazimat
16
Years of Service
User Offline
Joined: 3rd Nov 2009
Location: philippines
Posted: 28th Mar 2010 17:53 Edited at: 29th Apr 2010 21:43
I want the stage to be completed (won) when certain NPC's die like around 20.

French gui
22
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 29th Mar 2010 20:55
You mean the player have to kill 20 Npc to win the game? Well my idea would be to put 19 Npc and use a global variable increasing each time a character is killed. Once the variable reach 19 then make spawn the last Npc and set it's 'isobjective' value.
Scripts Are Life
18
Years of Service
User Offline
Joined: 14th Jun 2008
Location: Hell
Posted: 29th Mar 2010 23:31
Or you can set their IsObjective to 20, meaning that if 20 of that npc is killed, the screen blackens out and you win.

"Peace means reloading your guns"
Dimmu Borgir - Kings Of The Carnival Creation
It will open your eyes.

Login to post a reply

Server time is: 2026-07-26 20:11:43
Your offset time is: 2026-07-26 20:11:43