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

Offscreen fire triggers secrets

3 replies · 1,156 views · Started 30 October 2008

This one's odd. Blow fire off the left side of the screen from the top-left corner and it will trigger secrets.

This'll do it:

import "std.zh"

ffc script CornerFire
{
void run()
{
lweapon fire=Screen->CreateLWeapon(LW_FIRE);
fire->X=0;
fire->Y=0;
fire->Dir=DIR_LEFT;
}
}

I thought it was every time, but apparently it doesn't happen again after resetting. Not sure why that would make a difference.

firetest.qst

This is build 887, by the way. Couldn't reproduce it on 794, but maybe it just needs a different weapon.

Well, I ran that quest, and nothing happened.

Hmm.

Well, I'll add some extra sanity checks to the flag-triggering code and you can see if that fixes it.