Vitor Oliveira Cisotto
Novato
Registrado: 06/04/11 Mensagens: 11
|
|
To precisando de uma força... |
|
criei esse dialogo...
| | if ReadGlobalVarDef('SkipDialog', '0') = 0 then
begin
var Dialogo:Integer;
Dialogo:=ReadGlobalVarDef('Dialog', 0);
if Dialogo = 0 then
begin
ShowGameDialog('FaceDemo', 'O que voce faz aqui?', 150, GetScreenWidth()-100, 50, GetScreenHeight()-180, 110, 110, 115, (GetScreenHeight()-180)+87, 175, (GetScreenHeight()-180)+35, (GetScreenWidth()-230), true);
WriteGlobalVar('Dialog', Dialogo+1);
SetWaitKeyUp(13);
SetKeyUpOK(False);
DisableMainActorControl();
SetObjectAnimation('MainActor', '');
SetObjectPosition('DialogFullHell', GetObjectPositionX('Player'), GetObjectPositionY('DialogFullHell'), GetObjectPositionZ('Player'));
end;
if (IsKeyPress(13))and((GetWaitKeyIsUp)) then
begin
if Dialogo = 1 then
begin
ShowGameDialog('FacePersonPrinc', 'Como assim, quem eh voce?', 150, GetScreenWidth()-100, 50, GetScreenHeight()-180, 110, 110, 115, (GetScreenHeight()-180)+87, 175, (GetScreenHeight()-180)+35, (GetScreenWidth()-230), true);
WriteGlobalVar('Dialog', Dialogo+1);
end
else if Dialogo = 2 then
begin
ShowGameDialog('FaceDemo', 'Voce nao se lembra de mim no inferno?', 150, GetScreenWidth()-100, 50, GetScreenHeight()-180, 110, 110, 115, (GetScreenHeight()-180)+87, 175, (GetScreenHeight()-180)+35, (GetScreenWidth()-230), true);
WriteGlobalVar('Dialog', Dialogo+1);
end
else if Dialogo = 3 then
begin
ShowGameDialog('FacePersonPrinc', 'Nao, por isso estou perguntando...', 150, GetScreenWidth()-100, 50, GetScreenHeight()-180, 110, 110, 115, (GetScreenHeight()-180)+87, 175, (GetScreenHeight()-180)+35, (GetScreenWidth()-230), true);
WriteGlobalVar('Dialog', Dialogo+1);
end
else if Dialogo = 4 then
begin
ShowGameDialog('FaceDemo', 'Sou guardiao do portal do inferno meu nome eh FullHell...', 150, GetScreenWidth()-100, 50, GetScreenHeight()-180, 110, 110, 115, (GetScreenHeight()-180)+87, 175, (GetScreenHeight()-180)+35, (GetScreenWidth()-230), true);
WriteGlobalVar('Dialog', Dialogo+1);
end
else if Dialogo = 5 then
begin
ShowGameDialog('FacePersonPrinc', 'Onde estou? Por que minha aparencia fisica esta assim?', 150, GetScreenWidth()-100, 50, GetScreenHeight()-180, 110, 110, 115, (GetScreenHeight()-180)+87, 175, (GetScreenHeight()-180)+35, (GetScreenWidth()-230), true);
WriteGlobalVar('Dialog', Dialogo+1);
end
else if Dialogo = 6 then
begin
ShowGameDialog('FaceDemo', 'Esta pergunta eu nao posso responder, voce vai ter que buscar essa resposta sozinho...', 150, GetScreenWidth()-100, 50, GetScreenHeight()-180, 110, 110, 115, (GetScreenHeight()-180)+87, 175, (GetScreenHeight()-180)+35, (GetScreenWidth()-230), true);
WriteGlobalVar('Dialog', Dialogo+1);
end
else
begin
HideGameDialog();
EnableMainActorControl();
WriteGlobalVar('Dialog', 0);
WriteGlobalVar('TimeDLG', 5);
WriteGlobalVar('SkipDialog', 1);
end;
SetWaitKeyUp(13);
end;
end;
|
+ to tentando fazer o personagen "FaceDemo" sumir no final do dialogo, já tentei de diversos jeitos + nds...
alguem da uma força ai???
abrç...
|
|