Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

import multiples .hs files

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
herve_02




Joined: 27 Jul 2006
Posts: 3

PostPosted: Thu Jul 27, 2006 1:06 pm    Post subject: import multiples .hs files Reply with quote

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
View user's profile Send private message
JSH357




Joined: 02 Feb 2003
Posts: 1705

PostPosted: Thu Jul 27, 2006 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
herve_02




Joined: 27 Jul 2006
Posts: 3

PostPosted: Thu Jul 27, 2006 1:31 pm    Post subject: done Reply with quote

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
View user's profile Send private message
JSH357




Joined: 02 Feb 2003
Posts: 1705

PostPosted: Thu Jul 27, 2006 1:32 pm    Post subject: Reply with quote

Yeah, they have to be different because the compiler essentially reads it all as one file.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Fri Jul 28, 2006 5:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group