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 to make an enemy appear and then disappear?

Author
Message
Belacios
12
Years of Service
User Offline
Joined: 11th Nov 2012
Location: Otherworld
Posted: 15th Dec 2012 14:34
I want to make that classic horror games scene, where an enemy (or ghost) spawns and start to follow you, and then fade away.

Thanks for the attention!
Belacios
12
Years of Service
User Offline
Joined: 11th Nov 2012
Location: Otherworld
Posted: 16th Dec 2012 02:42
Ok.
I've just seen that this board is not meant to be asking questions, I'm really sorry for that!!! D:

I've just seen the Community Guide and it shows everything I need to know.

I'm really sorry for making these questions here.

Thanks for the attention, hope y'all forgive me. XD
Lyonia Games
12
Years of Service
User Offline
Joined: 8th Feb 2012
Location: Mostar,Bosnia and Herzegowina
Posted: 7th Mar 2013 11:37
It's OK!People make mistakes!We were all noobs once (begineers)

Lyonia 4 Life
Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 7th Mar 2013 14:15 Edited at: 7th Mar 2013 14:17
Condition:
ifplrtrail=1 - True when there is a trail left by the player in existance

Actions:
followplr=1 - Follow player trail if one exists
Also seen it used this way in older versions of FPSC
followplr

Turn on both debug options in the map editor to see the trail of the player and to see if your character is following the trail when you test the level.

Getting the character to fadeout will be done with a destroy script. You can see examples of those from the destroy scripts in your scriptbank/destroy folder. You will just need to determine how you want to sense the destroy of the character, either by range or etimer. then issue the runfpidefault=3 action to send it to the destroy script listed in the characters fpe file.

Examples threads: (these may need to be modifies, but will give you a start)
http://forum.thegamecreators.com/?m=forum_view&t=195839&b=23
http://forum.thegamecreators.com/?m=forum_view&t=142900&b=23

You can search using the google search at the bottom of the threads for followplr and it will bring up a bunch of links.

Hope this gets you in the right direction.

Login to post a reply

Server time is: 2024-11-23 17:09:30
Your offset time is: 2024-11-23 17:09:30