View previous topic :: View next topic |
Author |
Message |
TwinHamster ♫ Furious souls, burn eternally! ♫

Joined: 07 Mar 2004 Posts: 1352
|
Posted: Sat Aug 26, 2006 2:04 pm Post subject: Script dies right in the center |
|
|
This script should be a simple "talk to the npc, then lead to a second script" type of code:
Code: | script, see taju, begin
suspend player
stop song
walk hero (me, up, 5)
wait for hero (me)
set npc direction (32,right)
wait (3)
set npc direction (32, down)
wait (5)
show text box (165)
wait for text box
play song (10)
fade screen out (63,63,63)
wait (3)
fade screen in
###DIES HERE
resume player
set variable (taju, 500)
destroy npc (32)
taju battle sequence
end |
However, the game just freezes itself at the noted spot in the script. I try to press the close button (seeing as it works now), but it's not responding. As a result, I've got to ctrl+alt+delete it away, and I notice that my CPU usage is at 100%.
Is there a problem with this script, or game.exe?
Last edited by TwinHamster on Sun Aug 27, 2006 4:59 am; edited 1 time in total |
|
Back to top |
|
 |
Onlyoneinall Bug finder
Joined: 16 Jul 2005 Posts: 746
|
Posted: Sat Aug 26, 2006 7:50 pm Post subject: |
|
|
My game too has a strange issue like that... except now the script ends just fine after being prompted to save, but loading the game will cause you to be frozen with only the debug keys working. _________________ http://www.castleparadox.com/gamelist-display.php?game=750 Bloodlust Demo 1.00
 |
|
Back to top |
|
 |
Leonhart

Joined: 25 Feb 2004 Posts: 383 Location: Philippines
|
Posted: Sun Aug 27, 2006 4:02 am Post subject: |
|
|
Try putting the resume player at at the end of the script, before end. But I doubt it would solve anything. _________________ The man who smiles when things go wrong has thought of someone to blame it on.
- Robert Bloch |
|
Back to top |
|
 |
TwinHamster ♫ Furious souls, burn eternally! ♫

Joined: 07 Mar 2004 Posts: 1352
|
Posted: Sun Aug 27, 2006 4:46 am Post subject: |
|
|
With this, it didn't even let me use the debug keys, everything just froze. However, I copied the exact same script to a new name and it works fine now. I'm still not sure about what went wrong though. |
|
Back to top |
|
 |
|