dofile('data/Scripts/Screens/HintScreen.lua');

------------------------------------------------------------------------------
--// auxiliary functions
function CreateButtons()
	local caption = CreateTextEntity('GUITextFont', '');	--'DO_SPECIFIED_ABOVE_ACTION_TO_CONTINUE');
	caption:SetName('DoSpecifiedAboveActionToContinueText');
	caption:SetTextAlignment(HGETEXT_CENTER);
    caption:AttachTo(dialogScreen);
	caption:SetXY(SCREEN_WIDTH/2.0, 536.0);
	caption:SetZ(1);
	caption:SetScale(0.8);

	local duration = 1.5;
    local eff = CreateAnimationEffector();
    eff:AttachTo(caption);
    eff:SetMode(HGEANIM_FWD + HGEANIM_LOOP);
    eff:SetKey(_TRACK_O,  duration*0.0,		1.0);
    eff:SetKey(_TRACK_O,  duration*0.25,	0.6);
    eff:SetKey(_TRACK_O,  duration*0.5,		0.3);
    eff:SetKey(_TRACK_O,  duration*0.75,	0.6);
    eff:SetKey(_TRACK_O,  duration*1.0,		1.0);  
    eff:Play();

end
