Something on a newer AGS version and my 100-line function...

Started by Ishmael, Fri 08/10/2004 16:46:10

Previous topic - Next topic

Ishmael

...ok, it's not a 100-line function, something more like 50, but there's nearly as many lines in the rep_ex involved in the same event.

But here's the problem:

I created a very complicated gameplay for my game (see the banner in my sig). It worked nearly fine in the tech demo which I released, but when I upgraded the game to a newer version of AGS, 2.61, the script just stopped working. I have only made minor changes which do not concern the functionality of the script (unless I have messed something bigtime, and haven't noticed it at all...), only checks to make sure the character does not start walking to co-ordinates that he isn't supposed to and stuff like that.

Earlier, using the Interact -mode on a hotspot which had interaction defined, the script retrieved the characters destination co-ordinates and co-ordinates for the area in which the player must arrive for the interaction to get run. It worked fine, but after the update the interact mode only caused the character to move there, and the talk mode first launched the talk message set for the hotspot, and then the interaction of the hotspot, without moving the character there. I added a DisplaySpeech to the part where the RunHotspotInteraction is run, and it didn't get executed. So I wonder how it can run the interaction, but not the command right before.

So, have there been some bigger changes or possible slip-ups in 2.61, or have I just messed something myself and blindly ignored it every single time I have gone through the script? Sorry I can't post it here, I'm not on my own computer...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SSH

Have you tried using the debug console and/or single-stepping?
12

Pumaman

You'll have to post the script for us to be able to help.

SMF spam blocked by CleanTalk