Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Wait 1 turn command waits 13 turns?? (Solved)
New Topic New Poll Post Reply
Poster Message
Scattercatt
Level: Goblin
Rank Points: 27
Registered: 05-15-2016
IP: Logged

File: Screenshot (475).png (157.5 KB)
Downloaded 8 times.
License: Public Domain
icon Wait 1 turn command waits 13 turns?? (0)  
I keep trying to script my own custom elements and always run into the same problem. The wait command doesn't seem to work as I remember it to...

This is probably just some problem with my game or something that is totally going over my head but I couldn't find any other topics on it.

Uploaded a screenshot of my code.

[Last edited by Scattercatt at 08-17-2017 12:54 AM]
08-16-2017 at 05:34 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
uncopy2002
Level: Smiter
Rank Points: 387
Registered: 07-28-2014
IP: Logged
icon Re: Wait 1 turn command waits 13 turns?? (+1)  
Did you forget to reset _MyScriptX and the likes?
08-16-2017 at 06:42 AM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
Resert On
Level: Goblin
Avatar
Rank Points: 29
Registered: 05-02-2017
IP: Logged
icon Re: Wait 1 turn command waits 13 turns?? (+1)  
Wait 0 turn = Wait 1 turn, right?
Wait 12 turn = Wait 13 turn, right?

If you set _MyScriptX to something else than -9999, for example 13, maybe turn to wait changes to 13 (or 14, i never experiment with 'wait' command).

____________________________
Don't take it seriously.
Click here to view the secret text


[Last edited by Resert On at 08-16-2017 07:04 AM]
08-16-2017 at 07:04 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Xindaris
Level: Smitemaster
Avatar
Rank Points: 500
Registered: 06-13-2015
IP: Logged
icon Re: Wait 1 turn command waits 13 turns?? (+1)  
Wait 0 doesn't actually wait 1 whole turn; it just acts as a "turn stopping" command. "Wait #" where # is greater than 0 waits exactly # turns, but _MyScriptX overrides the value of # unless it's set to -9999 ("don't override")

____________________________
109th Skywatcher

Here are some links to Things!
Click here to view the secret text


[Last edited by Xindaris at 08-16-2017 05:36 PM]
08-16-2017 at 05:35 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Scattercatt
Level: Goblin
Rank Points: 27
Registered: 05-15-2016
IP: Logged
icon Re: Wait 1 turn command waits 13 turns?? (+1)  
quote:
Xindaris wrote:
Wait 0 doesn't actually wait 1 whole turn; it just acts as a "turn stopping" command. "Wait #" where # is greater than 0 waits exactly # turns, but _MyScriptX overrides the value of # unless it's set to -9999 ("don't override")


Ooooohhh. Got it! Thanks much.
08-16-2017 at 09:54 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Wait 1 turn command waits 13 turns?? (Solved)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.