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

Problems with Toggle_Item

6 replies · 1,794 views · Started 18 November 2006

Problems ahoy.

This script will GIVE link the level 2 sword when he walks into the room, but won't take it away when he leaves and re-enters.


// =============================================
// toggle_item - This FFC, a trainer FFC for the
// global character change FFC, will toggle whether
// or not Link has item whose ID is included as D0
// in the FFC.
// =============================================

ffc script toggle_item{

void run(int item_to_toggle){

if (Link->Item[item_to_toggle]){ Link->Item[item_to_toggle] = false; }
else { Link->Item[item_to_toggle] = true; }

} // end of void run

}

Not sure why. Does the FFC not reset when Link leaves and comes back?

It can be in as little as a few days from now, depending on what else we have to do.

Also, C-Dawg, clear your PM box. And get on AIM plz.

PM box is cleared. I don't use AIM anymore, usually, because the new AIM Triton blows a fat load. I'm looking for some older versions of AIM that don't load up a bijillion advertisements and graphics every five seconds.