I've had a look Grandad and I reckon what's needed is in there somewhere. I'll see what I can do with it (although I'll no doubt be back on here asking for help in no time!) Thanks!
EDIT:
And two hours later here I am! This first part uses a collider with ID 750 that is where the hanging whip is on the map. Dizzy hits it, the "Dizzy player" tile is disabled and the "Hanging Dizzy" (ID 751) tile is displayed.
func CollideObject_750_1( idx )
{
idx = ObjFind(750);
x = ObjGet(idx,O_ X) -6;
y = ObjGet(idx,O_Y)+12;
PlayerSet(P_STATUS,STATUS_SCRIPTED);
PlayerSet(P_DISABLE,1);
chr = ObjFind(751);
ObjSet(chr,O_X,x+2);
ObjSet(chr,O_Y,y-16);
ObjSet(chr,O_DISABLE,0);
ObjPresent(chr);
ObjSet(idx,O_STATUS,1);
}
So far so good (as far as I can tell). But this:
func Whiphang()
{
idx = ObjFind(751);
if(ObjGet(idx,O_STATUS)==1)
{
if(GetKey(KEY_LEFT)==1)
{
ClearKeys();
chrx = ObjFind(751);
ObjSet(chrx,O_DISABLE,1);
x = ObjGet(chrx,O_ X) ;
y = ObjGet(chrx,O_Y);
PlayerSet(P_X,x);
PlayerSet(P_Y,y);
PlayerSet(P_DISABLE,0);
PlayerEnterJump(-1,3);
}
}
}
func UpdateRoom_5_1()
{
Whiphang();
}
just doesn't work. To be honest I haven't got a clue whether I'm even using the correct commands but as far as my limited skills tell me, it should be doing SOMETHING when the left key is pressed. But I need help please, am I even close to being on the right track here?! {dizzy}:huh: