So I tried and Im still having problems. When I enter the room it still wont display the text I want it to.
I created the Global Var. Failure as an int and set it to 0
Button Script:
function altercation_OnClick(GUIControl *control, MouseButton button)
{
gBlackdog.Visible = false;
Wait (10);
Failure=1;
cHawkins.ChangeRoom (6, 1222, 1648);
}
Then my room script:
function room_AfterFadeIn(){
if (Failure == 1) {
Display (" Black Dog runs Captain Billy Bones through with his blade and runs out of the Admiral Benbow off down the road. Your journey never had a chance to even start. With the death of your father you end up working the rest of your life at the Admiral Benbow.");
Failure=0;
}
}
Its not displaying anything. I even tried to make it a textural overlay but still nothing appears on the screen.
I created the Global Var. Failure as an int and set it to 0
Button Script:
function altercation_OnClick(GUIControl *control, MouseButton button)
{
gBlackdog.Visible = false;
Wait (10);
Failure=1;
cHawkins.ChangeRoom (6, 1222, 1648);
}
Then my room script:
function room_AfterFadeIn(){
if (Failure == 1) {
Display (" Black Dog runs Captain Billy Bones through with his blade and runs out of the Admiral Benbow off down the road. Your journey never had a chance to even start. With the death of your father you end up working the rest of your life at the Admiral Benbow.");
Failure=0;
}
}
Its not displaying anything. I even tried to make it a textural overlay but still nothing appears on the screen.