View previous topic :: View next topic |
Author |
Message |
herve_02
Joined: 27 Jul 2006 Posts: 3
|
Posted: Thu Jul 27, 2006 1:06 pm Post subject: import multiples .hs files |
|
|
Hello,
I am new to plotscripting and i was wandering if it was possible to import multiples .hs files, because when i tri i have a script error message saying some kind of "impossible to unlump ...."
is there a way to separate scripts in multiple files ?
hervé |
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Thu Jul 27, 2006 1:12 pm Post subject: |
|
|
write:
include, secondfile.hss
at the top of the first hss file. Or maybe after the definescripts. I don't remember. Try compiling the first hss with that command entered and see what happens. |
|
Back to top |
|
 |
herve_02
Joined: 27 Jul 2006 Posts: 3
|
Posted: Thu Jul 27, 2006 1:31 pm Post subject: done |
|
|
it works : include myscript2.hss in top of the file
BUT the scripts numbers must follows,
for exemple if i have script N° 1,2,3 in script.hss, the scripts in myscrip2.hss must be 4,5,6 |
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Thu Jul 27, 2006 1:32 pm Post subject: |
|
|
Yeah, they have to be different because the compiler essentially reads it all as one file. |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Fri Jul 28, 2006 5:34 pm Post subject: |
|
|
Script error! Failed to unlump (scriptid).hsx
In the future that will not be a problem, because script id numbers (and definescript) will become optional. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
|