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 / How do i make it where when you shoot three enemies, you get a message

Author
Message
General Jackson
User Banned
Posted: 14th Apr 2009 23:05
I have no idea how to do this, i dont think it could be done solely through scripting though.
Any ideas?

My Soldier Front Account name is: Baddude32
Whats yours? I want to know!
Bendak11
16
Years of Service
User Offline
Joined: 2nd Aug 2008
Location: The bush in your front yard.
Posted: 14th Apr 2009 23:08
Well you could sorta cheat a way. You would make it so that you have to kill the 3 enemies in a specific order, and the last one would trigger the message. You have to open their properties and choose isobjective1 I think.

If you want it for a multiplayer, I have NO idea lol.
General Jackson
User Banned
Posted: 14th Apr 2009 23:16
nah not MP, and also I think that would make you win the game.
But i just had an idea and i'll try it out

My Soldier Front Account name is: Baddude32
Whats yours? I want to know!
Bendak11
16
Years of Service
User Offline
Joined: 2nd Aug 2008
Location: The bush in your front yard.
Posted: 15th Apr 2009 02:19
Yeah, that would. It would be under their properties. You may need to create a script so that their death results in a message box coming up.
General Jackson
User Banned
Posted: 15th Apr 2009 04:40
oh, yeah i hadnt thought of putting something in their death scripts, Thanks!

My Soldier Front Account name is: Baddude32
Whats yours? I want to know!
Bendak11
16
Years of Service
User Offline
Joined: 2nd Aug 2008
Location: The bush in your front yard.
Posted: 15th Apr 2009 04:46
No problem.
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 15th Apr 2009 05:24
you can use a variable or multiple variables to keep track of how many you have shot and/or who you shot. Variables would be either set or incremented in the death script of the character as mentioned. You would keep track of the variables in the main script of another entity such as a trigger zone or picture on wall or anything like that.

The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC
General Jackson
User Banned
Posted: 15th Apr 2009 05:57
yikes, i'm not in variables at math yet. COuld someone give me a brief explanation please? I'va kinda got an idea how to use them, but i need a little mor knowledge about them

My Soldier Front Account name is: Baddude32
Whats yours? I want to know!
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 16th Apr 2009 00:38 Edited at: 17th Apr 2009 00:11
like this GJ:


This was made using official variable commands.

...
General Jackson
User Banned
Posted: 16th Apr 2009 04:42
Thanks, so do i apply this to all three enemies?
And after that how do i make the message appear? ( i can script it in i just need to know where to script it)

My Soldier Front Account name is: Baddude32
Whats yours? I want to know!
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 17th Apr 2009 00:12
Where there is one of ";" the lines after are the script for the entity described in the comment until the next ";".

...

Login to post a reply

Server time is: 2024-11-24 23:46:54
Your offset time is: 2024-11-24 23:46:54