PDA

View Full Version : Tiered Secrets



LinkMaster500
06-18-2007, 10:45 PM
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?

Pineconn
06-18-2007, 11:09 PM
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.)

LinkMaster500
06-19-2007, 10:39 AM
Yes I knew about the CTRL key to put secrets on top of other secrets.

Dan Furst
06-19-2007, 12:23 PM
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.

LinkMaster500
06-19-2007, 04:26 PM
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.