Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Tiered Secrets

4 replies · 1,542 views · Started 19 June 2007

Is there a way to go beyond the 16 (4 x 4) secret combos for making tiered secrets? In other words, are we just limited to the 16 combo slots?

Unfortunately, we can use only 16 secret combos. But did you know that you can add a flag to any secret combo by holding in Control and clicking on the combo? (On the Secret Combo screen.)

You could make a freeform combo with an inherent #16 flag, the use ffc->WasTriggered() to move into a piece of code that changes the combo type/walkability of as many combos as you like.

import "std.zh"

//be sure to use a combo with inherent secret flag #16
ffc script multitrigger{
void run()
{
while(true)
{
if(this->WasTriggered())
{
//ComboT[ComboAt(x, y)] = CT_WATER;
//ComboS[ComboAt(x, y)] = 0;
//etc...
}
Waitframe();
}
}
}

If you need help with ZScript, post in the Scripting forum.

Thank you. I am still using 2.10 because since I began making my quest before the new version development began, and also to avoid bugs with the version in progress.

But thanks anyway.