User Tag List

Results 1 to 7 of 7

Thread: Problems with Toggle_Item

  1. #1
    Wizrobe C-Dawg's Avatar
    Join Date
    Jan 2002
    Posts
    4,205
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,611
    Level
    24
    vBActivity - Bars
    Lv. Percent
    99.9%

    Problems with Toggle_Item

    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.

    Code:
    // =============================================
    // 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?

  2. #2
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,028
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.51%

    Re: Problems with Toggle_Item

    Try again in b15; there's a bug in b14 with taking away items which might be causing the problem here.

  3. #3
    Wizrobe C-Dawg's Avatar
    Join Date
    Jan 2002
    Posts
    4,205
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,611
    Level
    24
    vBActivity - Bars
    Lv. Percent
    99.9%

    Re: Problems with Toggle_Item

    Alright. When is b15 due?

  4. #4
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,028
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.51%

    Re: Problems with Toggle_Item

    You'd have to ask the other developers, but the last word I heard was "soon."

  5. #5
    Developer
    ZC Developer
    jman2050's Avatar
    Join Date
    Jun 2001
    Location
    Do you really need to know
    Age
    37
    Posts
    3,883
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    5,709
    Level
    23
    vBActivity - Bars
    Lv. Percent
    46.18%

    Re: Problems with Toggle_Item

    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.
    AGN's Resident Zelda Classic Developer and Sonic the Hedgehog Fanboy

  6. #6
    Wizrobe C-Dawg's Avatar
    Join Date
    Jan 2002
    Posts
    4,205
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,611
    Level
    24
    vBActivity - Bars
    Lv. Percent
    99.9%

    Re: Problems with Toggle_Item

    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.

  7. #7
    On top of the world ShadowTiger's Avatar
    Join Date
    Jun 2002
    Location
    Southeastern New York
    Posts
    12,231
    Mentioned
    31 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    29,579
    Level
    46
    vBActivity - Bars
    Lv. Percent
    60.35%
    Achievements It's over 9000!

    Re: Problems with Toggle_Item

    www.oldversion.com is your best friend when it comes to that. Would be nice to see you back on AIM, man. Quite.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social