> Ugh, I can't reproduce this with a test case, but it's happening with my
> current game script. Perhaps there is something wrong with this script?
>
> script,W1D1,begin (this is script ID 2)
> show text box (302)
> wait for text box
> use door (1)
> fade screen out
> resume player
> run script by ID (3)
> end
>
> script,W1D2,begin (this is script ID 3)
> suspend player
> use door (2)
>
> The thing is, door 1 leads from the Balcony to the Main Menu, and then on
> the
> next script, door 2 leads to the Bathroom. However, the script ends up
> teleporting you to the Kitchen, even though it's door 1 of the BATHROOM,
> not
> the Balcony that leads you there.
>
> It doesn't make any sense?

Because it's your script.
script,W1D1,begin (this is script ID 2)
show text box (302)
wait for text box
use door (1)
fade screen out
resume player
run script by ID (3)
end

script,W1D2,begin (this is script ID 3)
suspend player
use door (2)

Is actually calling a goto @ the runscriptbyID(3), so what's compiling is
this:

script,W1D1,begin (this is script ID 2)
show text box (302)
wait for text box
use door (1)
fade screen out
resume player
>>(this is script ID 3)
suspend player
use door (2)
<<(Return to Script ID 2 where it left off)
end

Honestly, don't you people think like computers when you program?
</soapbox>
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to