Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Is there anything wrong with...
ObsidianLegion Offline

Posts: 173
Threads: 53
Joined: Jun 2011
Reputation: 0
RE: Is there anything wrong with...

(04-14-2012, 03:13 PM)Putmalk Wrote: Wait, you're getting crash errors (like when the level editor crashes)? Or script file errors (which also crash)?
I am, yes.

(04-14-2012, 02:15 PM)Rapture Wrote: Well since your the creator, its easier for you to figure it out since you know what you were working on last. 99.9% of the problem is their, unless you made all the code without testing it till the end. Because your stuff is way to long, sorting through that is going to take awhile...

To fade out lights, use this...

void FadeLightTo(string& asLightName, float afR, float afG, float afB, float afA, float afRadius, float afTime);

Its under the "Lights" catergory in the HPL2 wiki, not "lamps".

Edit: What were you working on last? I'm in the middle of looking for errors. Try commenting things out in your "void on Start()" section and see if you can just get your map to a working order, and start taking them out to figure out where the problem is...
To be fair, I reckon it'd be easier to remove that script.

(04-14-2012, 02:59 PM)DRedshot Wrote: I used to get black box errors when I set up my inventory.hps wrong. I think the problem might be connected to the epoxy script. Try commenting out that entire section and checking if the game can run.
Have you had that epoxy script work before? or was that the last thing you added to the script before the crash?
No, good sir. Surprisingly, that script worked fine first time.

"Good men mean well; they just don't always end up doing well." -Isaac Clarke, Dead Space 2, Chapter 12
(This post was last modified: 04-21-2012, 06:14 PM by ObsidianLegion.)
04-21-2012, 06:11 PM

Messages In This Thread
RE: Is there anything wrong with... - by Rapture - 04-14-2012, 02:15 PM
RE: Is there anything wrong with... - by DRedshot - 04-14-2012, 02:59 PM
RE: Is there anything wrong with... - by Putmalk - 04-14-2012, 03:13 PM
RE: Is there anything wrong with... - by ObsidianLegion - 04-21-2012, 06:11 PM

Users browsing this thread: 1 Guest(s)