Have just come across DizzyAge and have started to create my own fan game. Have two questions if thats ok.
1st, I would like to have stairs that raise out of the floor when an action is triggered. I've got this far:
func UpdateRoom_1_9() { step1(); step2(); step3(); step4(); step5(); }
func step1()
{
idx = ObjFind(4100);
if(!IsUpdate(ObjGet(idx,O_DELAY))) return;
y = ObjGet(idx,O_Y);
if(ObjGet(idx,O_STATUS)==1)
{
y -= 1;
if(y<=1327)
{
y=1327;
ObjSet(idx,O_STATUS,0);
}
}
ObjSet(idx,O_Y,y);
}
But obviously updateroom() isnt triggered so it just happens at the start of the game.
Second:
Am trying to get it so a triggerd action sends Dizzy to another room.
func ActionObject_2003()
{
OutRoom_1_7( );
}
func OutRoom_1_7()
{
ScrRequest(gs_fid("OpenRoomLatent_1_7"));
}
I guess what I am struggerling is how to call these functions by trigger.
I'm guessing I am going about it all wrong so a poke in the right direction with a pointy stick would be great.
Rob