Im doing a walkable area that is actually a cross over. the room also contains the downhill script. everything seems to work except for walkable area 3 which when you walk onto it the scaling is smaller than when standing on the downhill version of walkable area 1. my code seems to all make sence i wonder why. no matter what i set the scale of stupid area 3 its always a small size. (less than the 50% i specified)
(http://www.elfpro3d.com/Asterix/error.jpg)
// room script file
#sectionstart room_aÃ, // DO NOT EDIT OR REMOVE THIS LINE
function room_a() {
Ã, // script for Room: Walk off bottom screen edge
Leave(25, 26, 121, 69);Ã,Â
}
#sectionend room_aÃ, // DO NOT EDIT OR REMOVE THIS LINE
#sectionstart room_bÃ, // DO NOT EDIT OR REMOVE THIS LINE
function room_b() {
Ã, // script for Room: Player enters room (before fadein)
Ã,Â
Ã, IsDownhill(6, 186, 213, 50, 90);
Ã, SetWalkableZ(1, 9);
Ã, SetWalkableZ(8, 9);
Ã, SetWalkableZ(2, 9);
Ã, SetWalkableZ(4, 6);
Ã, SetWalkableZ(3, 6);
SetWalkableZ(5, 9);
SetWalkableZ(6, 7);
SetWalkableZ(7, 5);
Ã, SetWalkBehindZ(2, 8, 147);Ã,Â
RemoveWalkableArea(4);
RemoveWalkableArea(3);
RestoreWalkableArea(2);
RestoreWalkableArea(1);
SetAreaScaling(1, 90, 90);
}
#sectionend room_bÃ, // DO NOT EDIT OR REMOVE THIS LINE
#sectionstart room_cÃ, // DO NOT EDIT OR REMOVE THIS LINE
function room_c() {
Ã, // script for Room: Player enters room (before fadein)
RemoveWalkableArea(4);
RemoveWalkableArea(3);Ã,Â
}
#sectionend room_cÃ, // DO NOT EDIT OR REMOVE THIS LINE
#sectionstart region7_aÃ, // DO NOT EDIT OR REMOVE THIS LINE
function region7_a() {
Ã, // script for Region 7: Player walks onto region
RemoveWalkableArea(2);
RemoveWalkableArea(8);
SetWalkableZ(1, 6);
RestoreWalkableArea(4);
RestoreWalkableArea(3);
SetAreaScaling(1, 50, 50);Ã,Â
SetAreaScaling(3, 50, 50);Ã,Â
}
#sectionend region7_aÃ, // DO NOT EDIT OR REMOVE THIS LINE
#sectionstart region6_aÃ, // DO NOT EDIT OR REMOVE THIS LINE
function region6_a() {
Ã, // script for Region 6: Player walks onto region
RemoveWalkableArea(4);
SetWalkableZ(1, 9);
RemoveWalkableArea(3);
RestoreWalkableArea(2);
RestoreWalkableArea(8);
SetAreaScaling(1, 90, 90);Ã,Â
}
#sectionend region6_aÃ, // DO NOT EDIT OR REMOVE THIS LINE