I am wondering if someone could whip up a script for a plant that regrows and whenever you slash it bombs come out? Thanks. (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.
Bomb Plant Script Request
Started by
ZebraStallion
, Jul 15 2008 07:04 PM
8 replies to this topic
#1
Posted 15 July 2008 - 07:04 PM
#2
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...
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
Posted 16 July 2008 - 07:05 AM
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
Posted 16 July 2008 - 07:57 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...
Okay, thanks.
And by scripts that will enhance my quest, I'm talking about stuff like... Maybe stuff like NeoFirst.
#5
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();
}
}
}
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
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"?
Also, with your fairy script, how do you make it so at different dmaps, the fairy says different things when you press "R"?
#7
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.
It's not dmap specific.
#8
Posted 16 July 2008 - 02:08 PM
Do you mind either posting that here or PM-ing that to me? Thanks.
#9
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
idk if anyone even uses that anymore
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users