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 / the character appears and dies

Years of Service
User Offline
Joined: 4th Jan 2017
Posted: 18th Jul 2017 00:11 Edited at: 18th Jul 2017 00:14
To do so go down the corridor and suddenly heard the scream of the character somewhere on the corner, go there and there is a corpse.
Here is my script:
Artificial Intelligence Script


desc = script dead up

;End of Script

What's wrong with this script ? Help ! Help! Help!
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 19th Jul 2017 01:53
First, looking at your script you want the character (corpse) to disappear after 10 sec's ? Correct ?
Did/do you want corpse to disappear after player see's the corpse, or after what?
Second, are you spawning this corpse when player gets close? Or is it there already?

To help you along with simple testing, make sure your "corpse" is dynamic first (not static)
Then set the corpse Start AI to appear1.fpi and the Destroy AI to disappear1.fpi
Use this for the corpse Main AI...

Place your player marker about 4-5 segments away, then test run.
Have player walk up to corpse, when your within 2 segments timer will trigger.
After 10 sec's corpse will disappear
My games never have bugs. They just develop random features..
Lots and lots of random features...

Login to post a reply

Server time is: 2020-08-15 03:52:06
Your offset time is: 2020-08-15 03:52:06