Jump to content

Photo

Bomb Plant Script Request


  • Please log in to reply
8 replies to this topic

#1 ZebraStallion

ZebraStallion

    Follower of Destiny

  • Members

Posted 15 July 2008 - 07:04 PM

I am wondering if someone could whip up a script for a plant that regrows and whenever you slash it bombs come out? Thanks. icon_wink.gif (Maybe it oculd also be for different items too...?)

So yeah, I didn't mean the ones from OOT. But that would be pretty cool...

Also, if anyone has any scripts lying around that may enhance my quest, then put em here. icon_razz.gif

#2 Joe123

Joe123

    Retired

  • Members

Posted 16 July 2008 - 01:54 AM

Well all you'd need to do is have a combo cycling bush using Slash->Next set up, and then have the script check to see whether the bush's combo is equal to the slashed combo, then spawn one bomb lweapon, then have the script idle (so you don't spawn a bazillion) until the combo becomes the bush combo again, then have it restart over.

It wouldn't take too long, I'll probably write it for you if no-one else has when I get some free time.
'tis time for school soon though.


And 'scripts which enhance my quest' isn't very specific...

#3 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

Posted 16 July 2008 - 07:05 AM

QUOTE(Joe123 @ Jul 16 2008, 08:54 AM) View Post

And 'scripts which enhance my quest' isn't very specific...

I think he means global scripts or such...

I would like to see anything like that too, it would be funny if that's possible. The ones from OoT, which you can lift, would be nifty too.

#4 ZebraStallion

ZebraStallion

    Follower of Destiny

  • Members

Posted 16 July 2008 - 07:57 AM

QUOTE(Joe123 @ Jul 16 2008, 01:54 AM) View Post

Well all you'd need to do is have a combo cycling bush using Slash->Next set up, and then have the script check to see whether the bush's combo is equal to the slashed combo, then spawn one bomb lweapon, then have the script idle (so you don't spawn a bazillion) until the combo becomes the bush combo again, then have it restart over.

It wouldn't take too long, I'll probably write it for you if no-one else has when I get some free time.
'tis time for school soon though.
And 'scripts which enhance my quest' isn't very specific...

Okay, thanks. icon_wink.gif

And by scripts that will enhance my quest, I'm talking about stuff like... Maybe stuff like NeoFirst.


#5 Joe123

Joe123

    Retired

  • Members

Posted 16 July 2008 - 01:32 PM

CODE
ffc script bombspawnflower{
    void run(int bushcombo){
    int location = ComboAt(this->X,this->Y);
    item bomb;
        while(true){
            while(Screen->ComboD[location] == bushcombo) Waitframe();
            bomb = Screen->CreateItem(3);
            bomb->X = this->X;
            bomb->Y = this->Y;
            while(Screen->ComboD[location] != bushcombo) Waitframe();
        }
    }
}


Place the ffc exactly on top of your bush combo, and then set D0 to the combo ID of the unslashed bush.
Set it up to cycle from the slashed bush slowly back to the unshlashed bush, and it should all be good.

And I'm afraid I'm not too familiar with which scripts _L_'s using.

#6 ZebraStallion

ZebraStallion

    Follower of Destiny

  • Members

Posted 16 July 2008 - 01:37 PM

Okay, thanks! I'll test it out.

Also, with your fairy script, how do you make it so at different dmaps, the fairy says different things when you press "R"?

#7 Joe123

Joe123

    Retired

  • Members

Posted 16 July 2008 - 01:55 PM

The string to be played is a global integer, and I have a small ffc script that just changes that integer.

It's not dmap specific.

#8 ZebraStallion

ZebraStallion

    Follower of Destiny

  • Members

Posted 16 July 2008 - 02:08 PM

Do you mind either posting that here or PM-ing that to me? Thanks.

#9 Master Maniac

Master Maniac

    Earth, Wind, Fire, and Water.

  • Members
  • Real Name:kris

Posted 18 July 2008 - 12:32 PM

ZS, if youre feeling adventurous, you could make the dmap thing yourself using link->getcurdmap

idk if anyone even uses that anymore icon_razz.gif


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users