 |
Castle Paradox
|
View previous topic :: View next topic |
Author |
Message |
Flamer The last guy on earth...

Joined: 04 Feb 2003 Posts: 725 Location: New Zealand (newly discovered)
|
Posted: Tue Oct 21, 2003 2:36 am Post subject: argh, this save during a script... |
|
|
i'm trying to get this script to teleport to another location before saving, but it does something very strange... anyway, here's the bit of script with the problem.
Code: | text(19)
if(checktag(tag:random)==on)then(
fade screen out(0,0,0)
teleport to map(heromap,xhero,yhero)
wait(1)
fade screen in
text(20)
wait(1)
teleport to map(1,0,0)
wait(1)
menuposition:=0
write map block(0,1,6)
write map block(1,1,7)
fade screen in
text(22) |
text(number) is just an autonumber script with "show textbox" followed by "wait for textbox"
what i'd thought it'd do was, teleport to the saved location (heromap,xhero,yhero) show textbox 20 where the save shop is called and then textbox 22. after which would teleport to map (1,0,0).
but what actually happens is, it teleports to map 1 before the save shop is called. then teleports to map 3 then the save shop appears... after exiting that it returns to map 1 and continues as normal, but with the save location as (3,0,0) not (heromap,xhero,yhero).
the rest of the script doesn't affect this part of the script for some strange reason, i dunno, maybe i missed some tag or something, because i can't figure it out. _________________ If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch
(no offense to anyone that was mentioned) |
|
Back to top |
|
 |
Flamer The last guy on earth...

Joined: 04 Feb 2003 Posts: 725 Location: New Zealand (newly discovered)
|
Posted: Tue Oct 21, 2003 2:45 am Post subject: |
|
|
don't worry, i found out what was wrong...
i can't believe it was that simple, i should've done 5 mins more testing before posting.
NOTE TO SELF: Test for at least 5 hours before posting. _________________ If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch
(no offense to anyone that was mentioned) |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|