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 / [LOCKED] Need script please

Author
Message
smasher 2256
16
Years of Service
User Offline
Joined: 22nd Mar 2008
Location:
Posted: 22nd Mar 2008 09:43
I'm making my first game and being a hitman freak i want to make like a sniper game where if you dont kill a specific person or kill any civilian you fail and when you kill him you finish the level. i have next to no scripting experience so can someone please make one for me. i will give credit and everything!
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 22nd Mar 2008 12:18
smasher 2256
16
Years of Service
User Offline
Joined: 22nd Mar 2008
Location:
Posted: 22nd Mar 2008 12:27
oh... sorry i didnt read that.
Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 22nd Mar 2008 16:12
Yeah, read the stickies. Credits wouldn't do much, anyways.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 23rd Mar 2008 01:04
Well, since I'm in a helping mood right now (Not very common as of late), here's some starter tips:

1) To make your target enemy finish the level:

Go into the enemy's properties by right-clicking on it, then give it an "Is Objective" value f something other than 0. Now, make sure that nothing else in your level has an "Is Objective" value and upon killing him, you'll finish the level.

2) To make it so your player will fail if they kill a citizen (or even unarmed AI), use this command in the AI's Destroy script (can be found in their properties, and editted by finding the script in the scriptbank folder): plraddhealth=-99999

That will decrease the player's health by 99,999 if they destroy or "kill" any entity with that specific destroy script.


To learn more about scripting, you may want to read my Tutorials, which can be found in Nickydudes Hints and Tips guide (located in a sticky in the FPSC Chat Board)


Good luck, and welcome to the forums!


The one and only,
~PlystirE~

smasher 2256
16
Years of Service
User Offline
Joined: 22nd Mar 2008
Location:
Posted: 23rd Mar 2008 01:14
thanks so much huge help

Login to post a reply

Server time is: 2024-11-24 06:01:49
Your offset time is: 2024-11-24 06:01:49