Announcement: Remember: you are giving away your fantastic ideas for free, and somebody else might even make money from them (or appear to). That's just how the world works! If you're worried about it, maybe you shouldn't post your ideas here.

Caravel Forum : DROD Boards : Feature Requests : Wait for [processing part]
New Topic New Poll Post Reply
Poster Message
Level: Smitemaster
Rank Points: 729
Registered: 06-13-2015
IP: Logged
icon Wait for [processing part] (0)  
Moderately often, something that a DROD scripter wants to do is impossible because the timing of events which is available to a custom character is limited to a very specific part of the processing order of a turn, and the thing the scripter wants to detect happens after that part of the order. The end result is usually buggy behavior like waiting until the next turn to detect something or, if something that it's supposed to detect gets moved between its part of one turn and its part of the next turn, failing to detect it at all. It would be very nice, for this sort of thing, to have a command like "Wait for [processing part]", such as "Wait for fuses to process" or "wait for briar to grow", etc., to be tacked on before a check for the presence of a fuse or briar or whatever. The character would run within its usual processing order, then when it gets to that command it would put in a thing to DROD that says "resume running this script's commands after this processing order part has happened". In the case of things that can happen multiple times in the turn process, even just detecting the first time such things happen would be helpful.

Just as a couple of basic examples, this would make things like custom bombs that are supposed to react to lit fuses much easier to produce, and it would even be able to fix the very basic problem of not being generally able to register a challenge which is supposed to flag completion as soon as the room is clear until the turn after the room is clear by having the script wait until the point in the processing order where the game actually "knows" whether or not the room has been cleared.

To my understanding there's already some behavior like this where a very specific "wait for condition" such as "wait for clean room", when used not in an if statement, will actually wait until the part of the processing order before deciding whether to continue the script. I'm asking for an expansion of this so that (for example) a character could wait until the part of the processing order that checks whether a room is clear or not, and then regardless of whether the room is clear or not check for various other conditions and do scripting type stuff. This is kind of confusing to talk about because in DRODscript "Wait for so-and-so" reads like a true-false conditional while what I'm seeking is something that literally waits for something and then without any conditional behavior at all, carries on with the script. It wouldn't make a lot of sense to use these commands like those conditional "wait for"s.

109th Skywatcher

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

[Last edited by Xindaris at 03-18-2017 06:45 PM]
03-18-2017 at 06:32 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Feature Requests : Wait for [processing part]
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 |

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