User Tag List

Results 1 to 4 of 4

Thread: Permanent pushblock secrets?

  1. #1
    Lynel Majora's Avatar
    Join Date
    Mar 2006
    Age
    32
    Posts
    1,197
    Mentioned
    24 Post(s)
    Tagged
    7 Thread(s)
    vBActivity - Stats
    Points
    4,388
    Level
    20
    vBActivity - Bars
    Lv. Percent
    93.97%

    Permanent pushblock secrets?

    Overworld DMap. I can screen-flag it to interior so that's not a problem. But how would I otherwise accomplish this?

    I want to have a pushable object blocking a shortcut, that you can only push when you take the long way, but I don't want the block to reset and keep the shortcut open permanently.


    2.5/official release, mind you.

  2. #2
    Keese Lightwulf's Avatar
    Join Date
    Sep 2012
    Location
    Falicornia, SAU (Stanited Ates of Umerica)
    Posts
    36
    Mentioned
    2 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    691
    Level
    9
    vBActivity - Bars
    Lv. Percent
    28.2%
    The best way that I can think of doing this is have the block pushed onto a pushblock trigger and have the secret be permanent. Not entirely sure if it will work, but it might.

    If only there were a way to assign a flag to the undercombo then this would be easy...
    Beware the howl!!!

    ZC Quest Progress:
    The Islands of Zelda - 92.4% complete

    Randomness:
    Spoiler: show
    Just an idea I had for an advertisement:

    Come to the town of Chewandswallow, and you, too, can look like me!

    Think it will be effective? :)

  3. #3
    Empty and become Moosh Moosh's Avatar
    Join Date
    Oct 2012
    Posts
    57
    Mentioned
    13 Post(s)
    Tagged
    4 Thread(s)
    vBActivity - Stats
    Points
    625
    Level
    8
    vBActivity - Bars
    Lv. Percent
    88.86%
    Try this. I made this for a custom type of push block so IDK if it'll work.
    D0 is the number of the flag that goes on the trigger spots.
    Set D1 to 1 to make the secret permanent.
    Code:
    ffc script FlagCheck{
    	bool CheckFlag(int flag){
    		for(int i=0; i<176; i++){
    			if(Screen->ComboF[i]==flag||Screen->ComboI[i]==flag){
    				if(!Screen->isSolid(ComboX(i)+8, ComboY(i)+8))return true;
    			}
    		}
    		return false;
    	}
    	void run(int flag, int perm){
    		while(CheckFlag(flag)){
    			Waitframe();
    		}
    		Screen->TriggerSecrets();
    		Game->PlaySound(SFX_SECRET);
    		if(perm==1)Screen->State[ST_SECRET]=true;
    	}
    }

  4. #4
    Lynel Majora's Avatar
    Join Date
    Mar 2006
    Age
    32
    Posts
    1,197
    Mentioned
    24 Post(s)
    Tagged
    7 Thread(s)
    vBActivity - Stats
    Points
    4,388
    Level
    20
    vBActivity - Bars
    Lv. Percent
    93.97%
    I think I have that script already, haha. But thanks, it seems like ZC is just too wild to tame. So scriptblock it is!

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