 |
Castle Paradox
|
View previous topic :: View next topic |
Author |
Message |
Guest Guest
|
Posted: Mon Sep 28, 2009 2:51 am Post subject: PSTUTOR and hsi? |
|
|
i'm supposed to insert
Use your HSI file in your script with an include command.
include, mygame.hsi
but where do i insert it? before the "end" right? but before the "define constant, begin"? or after? if after, do i need a space? |
|
Back to top |
|
 |
Guest Guest
|
Posted: Mon Sep 28, 2009 3:03 am Post subject: |
|
|
I'm sorry that was stupid of me i wish to delete that post or edit it to prevent double post but oh well. I inserted the hello world script but the only thing that appears is the text box. Nothing more. No words no letters nothing. why is this? |
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Mon Sep 28, 2009 4:57 am Post subject: |
|
|
Does the text box have text in your RPG file? I remember when I first used the OHR, I didn't realize this had to be the case.
Basically, it's going to work like this. Say you go in to Custom.exe and make Text Box 1 say "Hello World." This defines what the text box will contain.
Now, you make an hss file that looks like this.
Code: |
include, plotscr.hsd
include, yourgame.hsi
define script(
1, HelloWorld, none
)
script, HelloWorld, begin
showtextbox(1)
waitfortextbox
end
|
That script, when called, will display the text box that you edited to contain the text "Hello World" in Custom.
(Be aware that I am using the older script format here. I believe in the new one, you don't have to define your scripts, but I'm not sure where the documentation is on it. I prefer the old one, anyway.) |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon Sep 28, 2009 5:54 am Post subject: |
|
|
'plot:plotscript' (sorry for the bad formatting)
Yes, the define script block isn't needed if instead you change "script, HelloWorld" to "plotscript, HelloWorld" _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
|
|
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
|