View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021720 | AI War 2 | Gameplay Idea | Oct 2, 2019 5:12 pm | Oct 2, 2019 6:17 pm | |
Reporter | Chris_McElligottPark | Assigned To | BadgerBadger | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.895 Major Progress On Tutorials Framework | ||||
Fixed in Version | 0.895 Major Progress On Tutorials Framework | ||||
Summary | 0021720: Ability to have a tutorial step halt all waves until another tutorial step turns them back on. | ||||
Description | Badger, I'm assigning this to you not because I want you to implement the tutorial hook, but I'd definitely appreciate help with basically some methods I could call in order to turn these off and on. | ||||
Tags | No tags attached. | ||||
child of | 0021702 | resolved | Chris_McElligottPark | Tutorial framework requests parent (any other short-term ideas?) |
|
How does one query whether a tutorial step is set? Is this some global flag the code could see? |
|
Well... we could do it in that direction, if you wanted to. Let me hook in some data that will be easy to read. |
|
Well, the DoPerSecond AI code right now says "Every X seconds, send a wave". So the most logical mechanism is to say "If we are in NoWavesTutorialMode, skip this bit of the code" |
|
Actually, looking about implementing that... I'd rather not do it in that direction. What I'd like to do, if possible, is have some sort of external data that you control that says "don't do waves" and there's a method that my tutorial steps can call to trigger that on or off. So the tutorial steps are the callers, and yours just keeps track of the state and actually listens to it. Does that seem feasible from your end? I think that's going to be the most consistent pattern for thing, having the waves be the active callers and other parts of the code be the passive consumers, since this also affects waves and such. But I could also make them set data centrally if need be, that your code could be a consumer of. |
|
Sure, that makes sense -- my last response was before seeing your last response. I think that basically the "WavesAreOff" flag would be something external data that you tell me how to trigger. And tutorials or anything else could trigger and un-trigger that mode, essentially. |
|
Yeah, I can have a "WavesTemporarilyDisabled" flag in externaldata and check that. |
|
Done; there's a WavesTemporarilyDisabled in the AIFactionExternal now. Untested but I think it should work |
|
Fixed |
Date Modified | Username | Field | Change |
---|---|---|---|
Oct 2, 2019 5:12 pm | Chris_McElligottPark | New Issue | |
Oct 2, 2019 5:12 pm | Chris_McElligottPark | Status | new => assigned |
Oct 2, 2019 5:12 pm | Chris_McElligottPark | Assigned To | => BadgerBadger |
Oct 2, 2019 5:12 pm | Chris_McElligottPark | Relationship added | child of 0021702 |
Oct 2, 2019 5:31 pm | BadgerBadger | Note Added: 0053408 | |
Oct 2, 2019 5:50 pm | Chris_McElligottPark | Note Added: 0053411 | |
Oct 2, 2019 5:53 pm | BadgerBadger | Note Added: 0053412 | |
Oct 2, 2019 5:55 pm | Chris_McElligottPark | Note Added: 0053414 | |
Oct 2, 2019 5:56 pm | Chris_McElligottPark | Note Added: 0053416 | |
Oct 2, 2019 5:59 pm | BadgerBadger | Note Added: 0053418 | |
Oct 2, 2019 6:17 pm | BadgerBadger | Note Added: 0053419 | |
Oct 2, 2019 6:17 pm | BadgerBadger | Status | assigned => resolved |
Oct 2, 2019 6:17 pm | BadgerBadger | Resolution | open => fixed |
Oct 2, 2019 6:17 pm | BadgerBadger | Fixed in Version | => 0.895 Major Progress On Tutorials Framework |
Oct 2, 2019 6:17 pm | BadgerBadger | Note Added: 0053420 |