Ice combos.
#31
Posted 06 November 2011 - 03:15 PM
#32
Posted 06 November 2011 - 03:31 PM
How would i merge GhostZCActiveScript (Ghost.zh) with this ones slot_2?
#33
Posted 06 November 2011 - 03:50 PM
#34
Posted 06 November 2011 - 04:03 PM
void run(){
while(true){
if(OnIce() && CountFFCsRunning(SCRIPT_ICECOMBO) == 0 && Link->Action == LA_WALKING){
int args[8];
RunFFCScript(SCRIPT_ICECOMBO, args);
}
Waitframe();
}
}
}
{
void run()
{
StartClock();
while(true)
{
UpdateEWeapons();
UpdateClock();
CleanUpGhostFFCs();
Waitdraw();
AutoGhost();
Waitframe();
}
}
}
Also, should i remove that part from the ghost file after i copied it to the main script file?
#35
Posted 06 November 2011 - 04:06 PM
void run(){
StartClock();
while(true){
UpdateEWeapons();
UpdateClock();
CleanUpGhostFFCs();
if(OnIce() && CountFFCsRunning(SCRIPT_ICECOMBO) == 0 && Link->Action == LA_WALKING){
int args[8];
RunFFCScript(SCRIPT_ICECOMBO, args);
}
Waitdraw();
AutoGhost();
Waitframe();
}
}
}
Here you go! That should do it. And no. don't remove that part from the ghostactivezhscript part. leave it, only compile the Slot2 you want.
Edited by Sepulcher, 06 November 2011 - 04:12 PM.
#36
Posted 06 November 2011 - 04:10 PM
you only need one thing from the ghostzhactivescript. copy the Autoghost(); part into your slot2 script
Actually you need everything out of ghostzhactive script. Not just Autoghost().
EDIT: You forgot the StartClock() outside of the while loop. This is what you want.
void run(){
StartClock();
while(true){
UpdateEWeapons();
UpdateClock();
CleanUpGhostFFCs();
if(OnIce() && CountFFCsRunning(SCRIPT_ICECOMBO) == 0 && Link->Action == LA_WALKING){
int args[8];
RunFFCScript(SCRIPT_ICECOMBO, args);
}
Waitdraw();
AutoGhost();
Waitframe();
}
}
}
Edited by blackbishop89, 06 November 2011 - 04:12 PM.
#37
Posted 06 November 2011 - 04:18 PM
#38
Posted 06 November 2011 - 04:27 PM
#39
Posted 06 November 2011 - 04:37 PM
#40
Posted 06 November 2011 - 04:45 PM
Thanks
edit:
Nothing happens when i walk on it, I set it to this:
const int CT_ICE2 = 27;
const int SCRIPT_ICECOMBO = 1;
27 is the FFCs (id).
Edited by Gonken, 06 November 2011 - 04:48 PM.
#41
Posted 06 November 2011 - 04:59 PM
Also, you set the variables wrong.
Here you go:
const int CT_ICE2 = 142;
const int SCRIPT_ICECOMBO = 27;
Edited by Sepulcher, 06 November 2011 - 05:02 PM.
#42
Posted 07 November 2011 - 09:50 AM
Edit: Nice! It's working.
Edited by Gonken, 07 November 2011 - 10:06 AM.
#43
Posted 07 November 2011 - 01:58 PM
#44
Posted 24 November 2011 - 04:34 AM
I can compile the script, but it does nothing.
I set the variables this way:
const int SCRIPT_ICECOMBO = 30;
142 = script1-combo
30 = icecombo-ffcscript-slot
Then I put some script1-combos at a screen.
But it doesn't work.
What did I wrnong?
#45
Posted 24 November 2011 - 11:47 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users