User Tag List

Results 1 to 9 of 9
  1. #1
    Octorok Archangel's Avatar

    Join Date
    Apr 2008
    Age
    23
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    6 trigger flags I could use.

    If someone could make these for me, it would much be appreciated.
    1. Cross Beams
    2. Hurricane Spin
    3. Super Quake

    Let me point out that numbers 3 should be the quake stun radius and not the impact with the charged hammer.

    EDIT: Updated... 3 done, 3 to go...
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

  2. #2
    Octorok Christian's Avatar

    Join Date
    Dec 2008
    Age
    23
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 6 trigger flags I could use.

    i thought zscript only lets us use 5 flags based on scripts.

  3. #3
    Lynel ZC Developer pkmnfrk's Avatar

    Join Date
    Jan 2004
    Location
    Toronto
    Age
    26
    Posts
    1,248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 6 trigger flags I could use.

    The flags aren't set aside for any particular purpose. The best way to use this would be to make FFCs that take the flag number as an argument. Something like:

    Code:
    ffc script PerilBeam {
      void run (int flag, ...) {
        ...
      }
    }
    Edit: That said, the beam attacks show up to scripts as ordinary sword beams, so until there's a means of telling them apart from ordinary sword beams, you can't create specific scripts for them.
    Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
    ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
    ZeldaGuard - Corruption in my save files? It's more likely than you think!
    I do script requests!

  4. #4
    Octorok Archangel's Avatar

    Join Date
    Apr 2008
    Age
    23
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 6 trigger flags I could use.

    Code:
    if(Link->HP < 17 && Link->Item[103] = true){
    ;)

    EDIT: In case you're wondering, the above code line checks to see if you have no more then one full heart and have the peril beam scroll as well.
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

  5. #5
    Lynel ZC Developer pkmnfrk's Avatar

    Join Date
    Jan 2004
    Location
    Toronto
    Age
    26
    Posts
    1,248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 6 trigger flags I could use.

    There you go! I knew you could do it :)
    Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
    ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
    ZeldaGuard - Corruption in my save files? It's more likely than you think!
    I do script requests!

  6. #6
    Octorok Archangel's Avatar

    Join Date
    Apr 2008
    Age
    23
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 6 trigger flags I could use.

    Yeah, now I just need to figure out how to make it work? Any tips. :)
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

  7. #7
    Octorok Archangel's Avatar

    Join Date
    Apr 2008
    Age
    23
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 6 trigger flags I could use.

    Perilbeam check, it's kind of buggy though.

    import "std.zh"

    Code:
    ffc script PBeam_Flag{
    	void run(int combo, int power){
    		while(true){
    			if(Link->HP <= 16 && Link->Item[103] == true){
    				Screen->ComboF[combo] = 82 + power;
    			}
    			if(Link->HP > 16 || Link->Item[103] == false){
    				Screen->ComboF[combo] = 14;
    			}
    			Waitframe();
    		}
    	}
    }
    And yes I did it with the wooden sword on a wooden sword beam trigger. If you can fix it, it would be appreciated. :)
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

  8. #8
    Developer ZC Developer

    Join Date
    Aug 2006
    Location
    Australia
    Age
    26
    Posts
    2,777
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: 6 trigger flags I could use.

    Quote Originally Posted by Archangel View Post
    1. Quake Hammer
    2. Super Quake

    Let me point out that numbers 5 and 6 should be the quake stun radius and not the impact with the charged hammer.
    You can indirectly check for this by noting if Screen->Quake changes.

  9. #9
    Octorok Archangel's Avatar

    Join Date
    Apr 2008
    Age
    23
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 6 trigger flags I could use.

    L...

    You are a Divine Sensation. <-La Mulana reference

    So test for quake changes, and test links position relative to the ffc for the radius check right?
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

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
  •