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 / Test Level isn't executing latest script changes

Author
Message
DSnelson
16
Years of Service
User Offline
Joined: 31st Mar 2008
Location:
Posted: 16th Apr 2008 04:15
I've trying to figure out what's going on, and have possibly been chasing ghost bugs in my script...

Here's what's happening: I make changes to my script, and then I test my level. After much aggravation, I figured out (through process of elimination) that my changes weren't being executed at all. If I change the script on my entity to something different, run it, then change it back to my script, I finally see my changes.

Does the FPSC editor cache code? Or is there something else going on?

If I had to choose: I'd rather have the ability to create something, than know something.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 16th Apr 2008 05:00
Not sure what's happening for you, because when I script, all I do is edit the script file, save it, then re-test the game. I don't alter anything in the test level whatsoever and the changes to the script are still executed.


The one and only,
~PlystirE~

DSnelson
16
Years of Service
User Offline
Joined: 31st Mar 2008
Location:
Posted: 16th Apr 2008 05:17
Thanks, plystire.

I know the changes are on disk, because I'll close and re-open notepad just to make sure. And, I'll change something minor just to see if the change is making it to FPSC; which it isn't. It's as if I didn't change anything at all.

Very confusing. But, if it is working for you, then I'll keep hunting down the mystery on my computer. It must be something local.

If I had to choose: I'd rather have the ability to create something, than know something.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Apr 2008 22:45 Edited at: 16th Apr 2008 22:55
Quote: "If I change the script on my entity to something different, run it, then change it back to my script, I finally see my changes"

For some reason the system is calling the old script until the filed is manually changed.

Then try re-assigning the script before testing.

So, edit and save, then assign the script to character, then test.

Don't forget to visit Conjured Entertainment

Login to post a reply

Server time is: 2024-11-24 08:00:08
Your offset time is: 2024-11-24 08:00:08