Jump to content

Photo

Screen State Carryover?


  • Please log in to reply
39 replies to this topic

#16 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 16 May 2011 - 07:32 PM

Now it tells me this icon_frown.gif

IPB Image

#17 Isdrakthül

Isdrakthül

    Apprentice

  • Members

Posted 16 May 2011 - 08:25 PM

I really must improve my organisational skills one of these days. icon_whap.gif

Anyway, it is now fixed.

#18 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 16 May 2011 - 08:45 PM

Alright, it compiled fine, but still nothing is happening.

#19 Isdrakthül

Isdrakthül

    Apprentice

  • Members

Posted 16 May 2011 - 10:32 PM

Okay, I think that I might have to use a different method. I'll try a different one and post once I've written it.

#20 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 17 May 2011 - 05:19 PM

Alright, thank you icon_smile.gif
Sorry for all the trouble icon_frown.gif

#21 Isdrakthül

Isdrakthül

    Apprentice

  • Members

Posted 17 May 2011 - 08:56 PM

Okay, try this out:

CODE

int i;

ffc script BlockToEnemy{
    void run(int pos, int num){
        bool HTriggered = true;
    while(HTriggered==true){
        if(Screen->ComboD[pos]==num){
            for(i=1; i<=Screen->NumNPCs(); i++){
                npc deadman = Screen->LoadNPC(i);
                deadman->HP = 0;
            }
            HTriggered=false;
        }
        Waitframe();
    }
    }
}

This tests to see whether or not the combo at position number D0 is combo number D1; if so, it kills all enemies. Set the block puzzle up as normal, then have it change the combo at position D0 to combo number D1 by triggering temporary secrets when it is solved.

Edited by Isdrakthül, 19 May 2011 - 04:49 PM.


#22 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 18 May 2011 - 03:58 PM

It didn't work icon_frown.gif

IPB Image

Oh, and how do you set it up?

Edited by Lynker, 18 May 2011 - 03:59 PM.


#23 Isdrakthül

Isdrakthül

    Apprentice

  • Members

Posted 18 May 2011 - 04:35 PM

That's bizarre. Try again with the new code.

For setup, you have the block puzzle trigger temporary secrets, setting the combo at position D0 to be combo number D1.

#24 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 19 May 2011 - 03:21 PM

IPB Image

icon_frown.gif

#25 Isdrakthül

Isdrakthül

    Apprentice

  • Members

Posted 19 May 2011 - 04:50 PM

I will stop being a moron at some point. At least, I hope so.

Anyway, fixed.

#26 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 19 May 2011 - 05:13 PM

You're not a moron! Don't worry!
And it didn't work, it just kills the enemy on the screen I want the secret to be on before I even do the block puzzle.
I think i'll just put a switch to undo this madness.

Edited by Lynker, 19 May 2011 - 05:13 PM.


#27 Isdrakthül

Isdrakthül

    Apprentice

  • Members

Posted 19 May 2011 - 05:48 PM

QUOTE(Lynker @ May 19 2011, 10:13 PM) View Post

And it didn't work, it just kills the enemy on the screen I want the secret to be on before I even do the block puzzle.
I think i'll just put a switch to undo this madness.

What do you mean? I thought killing the enemy in order to trigger enemies->secret and enemies->item was the whole point.

#28 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 19 May 2011 - 05:50 PM

No, no. In the quest i'm making, you go to the screen with the secret that you want it to be on first ,and the secret happens BEFORE I even go to the block puzzle room.

#29 Isdrakthül

Isdrakthül

    Apprentice

  • Members

Posted 19 May 2011 - 05:53 PM

What happens when the block puzzle is completed, then?

#30 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 19 May 2011 - 06:05 PM

Nothing at all.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users