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 / Changing FPI Issue

Author
Message
DoubleRThree
13
Years of Service
User Offline
Joined: 29th Sep 2011
Location: UK
Posted: 28th Dec 2011 20:24 Edited at: 28th Dec 2011 20:25
Hey All,

I'm attempting to create a Barricade System (sort of like the one in Call of Duty, but more just a one-off defence than repairable) for a game i'm working on. I've got the barricade working fine, but my problem is with the Zombie.

He walks upto the barricade, and begins the strike it. That's all fine. The script then SHOULD change his main FPI to the default one (i'm working with the "Slow Zombie 1" from Bond1's Zombie Apocalypse). The problem I have is, it doesn't. He just keeps striking. Here's the script:



* The Variable is set and changed in other scripts.


Any help would be appreciated. I also plan to share the whole Barricade System with the Community when it's 100% working.


RR3.
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 28th Dec 2011 21:01
try copy/pasting the original script into your current script and changing runfpidefault=1 to state=5

then change the states in the original script accordingly

I appear to have burst into flames...
DoubleRThree
13
Years of Service
User Offline
Joined: 29th Sep 2011
Location: UK
Posted: 28th Dec 2011 21:05
I thought of that, but that would make the Zombie stop and start walking towards the player whenever he is shot/the player is too close/etc.


If I removed those, after he got through the barrier, he'd just stand there.

Login to post a reply

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