View previous topic :: View next topic |
Author |
Message |
Inferior Minion Metric Ruler

Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Fri May 13, 2005 3:33 pm Post subject: |
|
|
The script is correct, she's even stated it's running. But it's not doing what she wants. It's showing text box 174, but never shows 173 or 492.
Check your tags. The if is failing on check tag (47) and it skips right to the else every time.
Make sure tag 47 is indeed being triggered when you want it to be turned on. _________________
|
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Sat May 14, 2005 2:26 am Post subject: |
|
|
Haha! I didn't read the comments!
I you have problems tracing the tags, trying using the F4 (I think it's F4) debug key. It shows you a list of tags, use + and - to scroll, and you can use ctrl & + to turn on a tag or ctrl & - to turn it off. |
|
Back to top |
|
 |
T.Hi

Joined: 20 Jun 2003 Posts: 24 Location: Ohio
|
Posted: Sat May 14, 2005 10:33 am Post subject: RE: |
|
|
Okay, I have all that...so what do I do if I find that the tags aren't being correctly set and/or checked and/or tripped? I did go through and make sure of the text #s and tag #s and so on...
On another note, I will try the autonumber thing...as soon as I find more information on it. *runs off to hamsterrepublic.com"... |
|
Back to top |
|
 |
Raekuul Delicious!

Joined: 31 Mar 2004 Posts: 641 Location: Nowhere
|
Posted: Sat May 14, 2005 4:44 pm Post subject: |
|
|
That, and if a tag is item-linked, you need the item...
What's supposed to trigger the tag in question, anyway?
Can we see the file that you can export from the script management thingy? If I cann see that, I could help a little more... _________________ A broken clock is still right twice a day. |
|
Back to top |
|
 |
T.Hi

Joined: 20 Jun 2003 Posts: 24 Location: Ohio
|
Posted: Mon May 16, 2005 8:32 am Post subject: RE: |
|
|
The item is a leaf which is won by defeating a tree enemy. I've tried the game both with and without the leaf and it always acts the same. Raekuul, a character is supposed to ask a question, then go to the script, which is does just fine. Then the script is supposed to check for your answer. If you said 'yes', it is to check for the item, in this case a leaf. If you have the leaf, it's supposed to show text #173, but if not, it should show text #492. However, if the player picked 'no' to begin with, then it's just supposed to show text #174. Just for the record, I did copy this EXACT script one more time and it worked perfectly, so it now works in FOUR instances, but not this one... And what Quote: | file that you can export from the script management thingy? | are you talking about? |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Mon May 16, 2005 9:29 am Post subject: |
|
|
In custom, under "Script Management", you can export a file with all sorts of constants for use in your scripts (the .hsi file) _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
Raekuul Delicious!

Joined: 31 Mar 2004 Posts: 641 Location: Nowhere
|
Posted: Mon May 16, 2005 9:39 am Post subject: |
|
|
Yes, that's the one. Whenever I have a problem, I just look at my constants again... and again... and (if I haven't figured out that it's my problem by then) again...
Why I want to see your constants is to... well, let's just call it a hunch for now. _________________ A broken clock is still right twice a day. |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon May 16, 2005 4:12 pm Post subject: |
|
|
Ok, I have a question: Why are you using a different tag for the choice everytime? You could probably use the same tag over and over. I think that maybe you've used tag 47 elsewhere.
Anyway, as IM said, check that 47 actually is getting triggered. You can use tag debug mode after box 174 to check that it was triggered. Check also your textbox conditionals - are you actually setting the tag on the player's choice? |
|
Back to top |
|
 |
T.Hi

Joined: 20 Jun 2003 Posts: 24 Location: Ohio
|
Posted: Tue May 17, 2005 7:23 am Post subject: RE: |
|
|
Raekuul, I'll look for that and see if I can post it. The Mad Cacti, yes I have "Enabled" player's choice and in playing the game, I saw that the tag is triggered (the ones in white, right?) Also, I think this is a different tag this time...but I will Quote: | use tag debug mode after box 174 to check that it was triggered |
|
|
Back to top |
|
 |
T.Hi

Joined: 20 Jun 2003 Posts: 24 Location: Ohio
|
Posted: Tue May 17, 2005 7:37 am Post subject: RE: |
|
|
Since my game's pretty lengthy - 8MB and it's done except for this, I can't post the WHOLE list, but here is [what I hope is] the relevant part...
42,tag:clothes for Jazz
43,tag:wants to buy Rx
44,tag:steps on T
45,tag:buy from Vendor
46,tag:bought from Vendor
47,tag:leafcoat trade
48,tag:has leaf
49,tag:gave girl candy
50,tag:wants to hear song
51,tag:Cold Nite
52,tag:Fur Elise
53,tag:Humoresque
54,tag:Wander
55,tag:Rozwell
You see that tag #48 is "has leaf" and, like I said, it is white when I push F4 during the game. *sigh* I'll do like I said above and keep looking everywhere. I must be missing it somewhere. Thanx for the tip on looking at these files, though, Raekuul. Let me know if you need more. |
|
Back to top |
|
 |
Raekuul Delicious!

Joined: 31 Mar 2004 Posts: 641 Location: Nowhere
|
Posted: Wed May 18, 2005 2:31 pm Post subject: |
|
|
Can you send me a copy of the game? If I can get my brain in there I probably could find it. (If you can't find my e-mail, I *think* there's a button around here somewhere...)
Like I said, a hunch. _________________ A broken clock is still right twice a day. |
|
Back to top |
|
 |
T.Hi

Joined: 20 Jun 2003 Posts: 24 Location: Ohio
|
Posted: Thu May 19, 2005 5:58 am Post subject: RE: |
|
|
Sure...I've only got this problem to solve and one more little thing to do before the game is 100% done and ready to upload and ask for reviews *is excited*, so I'm anxious to get this worked out. Thanx!
I'm at the campus computer center, so rather than use Outlook, I'll e-mail you from my e-mail account, so please look for it. I'll put "Diaper Gang game" under 'Subject'. |
|
Back to top |
|
 |
Raekuul Delicious!

Joined: 31 Mar 2004 Posts: 641 Location: Nowhere
|
Posted: Fri May 20, 2005 2:10 pm Post subject: |
|
|
What's supposed to trigger the script in question? _________________ A broken clock is still right twice a day. |
|
Back to top |
|
 |
Raekuul Delicious!

Joined: 31 Mar 2004 Posts: 641 Location: Nowhere
|
Posted: Fri May 20, 2005 2:36 pm Post subject: |
|
|
Found the problem. The leaf is linked to 48, but your script looks foe 47! _________________ A broken clock is still right twice a day. |
|
Back to top |
|
 |
T.Hi

Joined: 20 Jun 2003 Posts: 24 Location: Ohio
|
Posted: Mon May 23, 2005 5:08 am Post subject: RE; |
|
|
It is supposed to check for tag #47 (a choice) first. Then, IF the person picks 'yes', check for tag #48. If they pick 'no', it's to go to text #174 and so on... _________________ - T.Hi |
|
Back to top |
|
 |
|