Sideview Ladder?
#1
Posted 22 September 2012 - 02:28 PM
#2
Posted 22 September 2012 - 09:37 PM
ffc script SideView_Ladder
{
void run(){
while (true){
int underlink=ComboAt(Link->X+8, Link->Y+15);
if (Screen->ComboT[underlink]==CT_SIDEVIEWLADDER){
Link->Jump=0;
if (Link->InputUp){
if ( Screen->isSolid(Link->X+1, Link->Y-1) == false && Screen->isSolid(Link->X+8, Link->Y-1) == false &&
Screen->isSolid(Link->X+14, Link->Y-1) == false){
Link->Y-=1;
}
}
else if (Link->InputDown){
if ( Screen->isSolid(Link->X+1, Link->Y+1) == false && Screen->isSolid(Link->X+8, Link->Y+1) == false &&
Screen->isSolid(Link->X+14, Link->Y+1) == false ){
Link->Y+=1;
}
}
}
Waitframe();
}
}
}
The combo of the ladder must to be set up as type SCRIPT 1 and FLAG 99.
I'm not sure, but I think this script worked well together with another ladder script that I use too because of this flag 99.
Do a test and then tell me if there was any problem :)
#3
Posted 22 September 2012 - 11:37 PM
#4
Posted 23 September 2012 - 08:54 AM
• sideview ladder script - a FFC script. place it at the top left of the screen.
• climbing script - a global script.
https://dl.dropbox.c...eviewladder.zip
#5
Posted 23 September 2012 - 01:00 PM
#6
Posted 23 September 2012 - 01:50 PM
if you want other scripts, zepinho created a post with a large collection of scripts written by himself and by other people from this forum. worth checking out!
http://www.purezc.co...showtopic=53832
#7
Posted 23 September 2012 - 02:21 PM
#8
Posted 23 September 2012 - 02:48 PM
#10
Posted 23 September 2012 - 03:25 PM
Edit: Never mind, I'll write it.
global script bigitems{
void run(){
while(true){
for ( int i = Screen->NumItems(); i > 0; i-- ){
item bigItem = Screen->LoadItem(i);
if ( bigItem->ID != I_BIGCOIN ) continue;
bigItem->TileHeight = 2;
bigItem->HitHeight = 32;
}
Waitframe();
}
}
}
#11
Posted 23 September 2012 - 04:05 PM
What does that have to do with sideview ladders?
Edit: Never mind, I'll write it.
global script bigitems{
void run(){
while(true){
for ( int i = Screen->NumItems(); i > 0; i-- ){
item bigItem = Screen->LoadItem(i);
if ( bigItem->ID != I_BIGCOIN ) continue;
bigItem->TileHeight = 2;
bigItem->HitHeight = 32;
}
}
}
}
You could do a quest for example? I'm trying to use it and my screen freezes ZC. :/
#12
Posted 23 September 2012 - 07:38 PM
#13
Posted 24 September 2012 - 03:17 PM
#14
Posted 24 September 2012 - 03:30 PM
#15
Posted 24 September 2012 - 04:05 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users