Download example .qst
This is a tutorial for a line-of-sight radar that activates a warp/secrets if it spots Link. It has many uses, like for stealth sections or creating a beamos-type enemy.
Create a cycle of combos (i.e. the first cycles to the second, the second to the third, ... the last back to the first) n combos long. Longer cycles will give your radar more precision, though may not be necessary for your setup. In this tutorial I've used 16, which is likely the maximum you'd ever need. My combo table looks like this:
Combos 1-14 are neutral, with 15-16 set to either 'Step->Secrets (Sensitive, Perm/Temp)' or a direct/sensitive warp, depending on whether you want to trigger secrets or a warp.
Arrange the combos in consecutive lines radiating from the source block, like below. The colour values represent the combo used:
With this setup, I've made the lines in a clockwise direction starting from the south. This will create a radar sweep in an anticlockwise direction starting from the south, shown below (the brightest two values are the trigger zone). Be sure to consider how the player will be navigating Link through the screen when deciding the direction and starting angle of your sweep.
(Note: There are many different patterns you can use with this setup, such as a one-directional linear sweep. I've just gone with a radial sweep here)
Once you've constructed the sweep it's simple to block out "safe zones". All you need to do is overwrite the combo cycle combos with normal combos (shown as black squares) in a way that makes sense regarding the radar's line of sight. If Link is standing here he won't trigger the radar.
If you want to make the beam visible, give combos 15-16 a bright colour. If you want a short trail, have combos 1-4 getting progressively duller.
Alternatively (or in addition to) create an animated combo the same speed/length as your combo cycle of a roaming eye or something to set as the source of the radar beam, so Link can avoid the danger zones without the beam itself needing to be visible.
Edited by NoeL, 20 January 2014 - 06:53 AM.