View previous topic :: View next topic |
Author |
Message |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Sun Nov 22, 2009 8:32 pm Post subject: plotscr.hsd |
|
|
Um - my plotscr.hsd doesn't like to compile.
It bonks out at line 1002, saying
Quote: |
0, script
Expected script trigger name, but found declaration script
|
I didn't edit the file evar... what gives?
:-(
Also:
After some plotscripting, I've inadvertantly stumbled across a new kind of maze. I've never seen this kind before (although I'm sure it's been used in an old-school game somewhere before), and I'm including it in my game. _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Sun Nov 22, 2009 8:38 pm Post subject: |
|
|
Could you possibly be using the xocolatl plotscr.hsd together with the nightly wip hspeak? (or vice-versa?) |
|
Back to top |
|
 |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Sun Nov 22, 2009 9:10 pm Post subject: |
|
|
I used the install wizard to install the nightly.
If plotscr.hsd comes with the installer, then it should be the newest version.
Is it possible that my script defines some sort of constant with the same variable name as something in plotscr.hsd ... and ... I donno, that might discombobulate something ... ? _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Mon Nov 23, 2009 4:42 am Post subject: |
|
|
Agh.
Duurrrrrr.
Ok, I figured it out. Stupid question. Stupid answer.
Problem solved. _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Mon Nov 23, 2009 3:52 pm Post subject: |
|
|
Bagne wrote: | Agh.
Duurrrrrr.
Ok, I figured it out. Stupid question. Stupid answer.
Problem solved. |
What was it? |
|
Back to top |
|
 |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Mon Nov 23, 2009 4:28 pm Post subject: |
|
|
I got confused, and as a result, I was trying to include plotscr.hsd twice.
:-S
So, yes, the problem was that plotscr.hsd was defining variables using names that were already used ... when I included it the first time.
Hey - can you split your .hss file into multiple files?
My scripts are growing and multiplying like bunnies - and I need to keep them organized.
Do I just write another file and say
Code: | include, subroutineFilename.hss |
?
Would I need to re-include/re-define stuff in my subroutine files? _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
Guest
|
Posted: Mon Nov 23, 2009 6:23 pm Post subject: |
|
|
Yes, you just write a new file and include it with an "include" command in the original. Do not 're-include' or 're-define' anything. |
|
Back to top |
|
 |
|