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

TileWidth-TileHeight bug.

1 replies · 880 views · Started 11 December 2007

					bomb1->X = this->X+8;bomb1->Y = this->Y+8;
//bomb1->TileWidth = 2;bomb1->TileHeight = 2;
//bomb1->EffectWidth = 32;bomb1->EffectHeight = 32;
bomb1->Data = bomb_data;

Same code from my other post, although only when I commented out TileWidth and height was the 2x2 damage combo actually damaging link. I simply made the ffc itself 2x2 instead of the script making it 2x2, and it works fine.

Either problem with ffc damage combos being activated by scripts(although I have other scripts where this works fine) or the above.

..The way it works in these examples is like this: (so there's no confusion)

ffc bomb1 = Screen->LoadFFC(this_ffc_number+1);
int bomb_data = this->Data+6; //damage combo (but initially it's in "inactive" mode at Data=1)
while(true){
// rest of code
}

...wow 10 bug posts in 2 hours...that sucks. 😞