User Tag List

Results 1 to 3 of 3

Thread: Question on a possible script

  1. #1
    Banned
    Join Date
    Feb 2007
    Location
    redding ca
    Age
    40
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    717
    Level
    9
    vBActivity - Bars
    Lv. Percent
    43.84%

    Question on a possible script

    I was wondering with scripting is it possible to change the way combos work. The reason why I ask is because I have trouble getting multiple warps to warp properly on one screen, actually I cant seem to get it to work at all. So I was wonder if it would be possible to script it so if I right click on a warp combo I can edit all of the warp info for just that one warp. Like setting the destination, every thing on that one combo. But it would also have to have some sort of way to add the destination per screen. This way the warp tile could be used on different screens with out taking you to the same spot when you want a different one. Or would this have to be implemented be the devs?

  2. #2
    Lynel
    ZC Developer
    pkmnfrk's Avatar
    Join Date
    Jan 2004
    Location
    Toronto
    Age
    37
    Posts
    1,248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,145
    Level
    18
    vBActivity - Bars
    Lv. Percent
    11.32%

    Re: Question on a possible script

    Well, this can be done, but not the way you describe.

    The built in combos work the way they work, and they always will work that way. However, you could script a warp.

    The question is, though, do you need to? What problem, exactly, are you having with the warps? Don't forget there's four blue tiles (A, B, C, D), four warp combo types (A, B, C, D), and four pages on the warp setup dialog (A, B, C, D). Triggering a B Warp Combo will use Warp B, which will send Link to whatever blue tile you choose.

    If you give a more detailed description of your problem, we'll probably be able to help you.


    (If you still want the script for a customized warp (which can ONLY use Blue Tile A), read below)

    Code:
    const int sensitivity = 4;
    
    ffc script myWarp {
      void run(int dmap, int screen) {
        while(true) {
          if(Link->X + 16 + sensitivity > this->X && Link->X < this->X + 16 - sensitivity && Link->Y + 16 + sensitivity > this->Y && Link->Y < this->Y + 16 - sensitivity) {
            //do something
            Link->PitWarp(dmap, screen);
          }
          Waitframe();
        }
      }
    }
    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!

  3. #3
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    33
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,307
    Level
    26
    vBActivity - Bars
    Lv. Percent
    9.21%

    Re: Question on a possible script

    Have you got the Quest Rule 'Use Old Style Warp Detection' checked?

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