Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ChronicFreshman

#1
Crimson, yes I did do that. I guess I didn't elaborate that that's what I was doing. Well cool! I just changed everything back and tried what you suggested! No errors! Works great. That was much smoother than updating every line of code. Thank you so much :)

And thank you, Monkey for the reference material, very helpful.

Take care!

#2
Crimson, Thank you for the tip. I swapped it out. No error. Unfortunately it just hopped to the next issue in the script so I won't know how it plays until I've gotten all the errors sorted out.

As far as the download. You're right it's gone, but here is a link to the original version 3 script on it's Wiki page so you can take a look at it:

http://www.adventuregamestudio.co.uk/wiki/Expression-style_speech

It doesn't look right, I know. It wouldn't save to the page properly. I've worked my way down to where it says :

length=StrLen(message);

which I've changed to:

length = String.Length(message);

But I still get an error.
Please let me know if you see any other obvious changes that need to be made in order to use the module on current versions of AGS.

I really appreciate the help with this.
#3
That was actually my topic Monsieur OUXX linked to. Thank you for that, Monsieur.

Thanks to a couple of responses on that thread I was able to fix that specific problem I was referencing by changing every "Speech" in the expression module to "MySpeech". But once I fixed that another problem popped up not far down the script. I've been able to swap things out so far by looking up updates but now I'm stuck at a new error I can't quite figure out:

The error is this:

Error (line 22): must have an instance of the struct to access a non-static member.

Script Referenced:
21   String displayedline;
22   String.Copy(displayedline,"");

If anyone knows how to get around this issue, or if there's an updated version of this module floating around somewhere, I'd appreciate the assistance!

Thank you!
#4
Thank you both for the in-depth advice. This sounds like it might be effective. I'll give it a shot!
#5
Hello,

I'm just getting started on the skeleton of a game and I ran into a problem with Shade's Expression Speech Style module. I imported the script and followed the included directions. But when I try to play the game, this error pops up:

"Vairable 'Speech' is already defined."

From what I understand, this means that the the variable "Speech" is already being used in the original script, but I'm not sure how to fix the issue and it isn't addressed in the module instructions so I take it it's probably something pretty obvious.

Sorry in advance if this is a question better posted on the module's thread, it just seemed like a very beginner issue.

Thanks!

SMF spam blocked by CleanTalk