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 / Script activates when character is near player

Author
Message
BadKarma
12
Years of Service
User Offline
Joined: 2nd Sep 2012
Location: The Old Gein Farm
Posted: 23rd Sep 2012 19:57 Edited at: 23rd Sep 2012 20:32
Hey guys,

I am lost here. I am in need of a script that when my protagonist(player)looks at the antagonist(character), he gets motion sick. Then when the player is within 100 of the character, he gets hurt and when player is within 50 of the character he dies.
D0MINIK
16
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 23rd Sep 2012 20:37 Edited at: 23rd Sep 2012 20:40
This is not a request board

http://forum.thegamecreators.com/?m=forum_view&t=126004&b=23

Try to set up a script and post what you've done so far in case it doesn't work and you need help with it.

Here is a good resource to start with FPSC scripting:

http://forum.thegamecreators.com/?m=forum_view&t=131868&b=21

BadKarma
12
Years of Service
User Offline
Joined: 2nd Sep 2012
Location: The Old Gein Farm
Posted: 23rd Sep 2012 20:51
OK, well can someone EXPLAIN to me how this is accomplished?
A dude
15
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 23rd Sep 2012 22:34
Get Fpi Editpad. It's a very very very useful program.
Anyways, try this script I made:

(I haven't tested it yet so it may not work.)
BadKarma
12
Years of Service
User Offline
Joined: 2nd Sep 2012
Location: The Old Gein Farm
Posted: 23rd Sep 2012 23:53
A dude, I greatly appreciate your time on this but sorry it didn't work. What I really need is the syntax that recognizes a postprocess. For example :state=0,plrfacing=90whatever activates an effect)=effectbank\postprocess\motionsickness.fx or something like that.
A dude
15
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 24th Sep 2012 01:19
Try this:
maho76
14
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 24th Sep 2012 10:48
you may use inview=1 instead of playerfacing=x. another slenderman-game? people, the hype isnt OVER ???^^

kingofmk98
14
Years of Service
User Offline
Joined: 30th Jul 2011
Location: Everywhere
Posted: 26th Sep 2012 00:20
Quote: "another slenderman-game? people, the hype isnt OVER ???^"

I wish it was

The Nerevar
15
Years of Service
User Offline
Joined: 19th May 2010
Location: Vvardenfell
Posted: 26th Sep 2012 00:27
It was fun while it lasted, some things need to die out soon, like all of that "hot new music" crap.

Fulfilling the Nerevarine Prophecy, one trial at a time, because I... Am... The Nerevar!
BadKarma
12
Years of Service
User Offline
Joined: 2nd Sep 2012
Location: The Old Gein Farm
Posted: 30th Sep 2012 07:00
Thanks, guys I got it!

Login to post a reply

Server time is: 2025-08-08 21:02:22
Your offset time is: 2025-08-08 21:02:22