--[[ -- Author: Cristian Rizea -- Desc: Loading1 File -- -- Copyright (c) 2004, All Rights Reserved. ]] function Loading1() SetMaterial( 'Loading1', 0 ,"menu\\MenuTextures\\LoadingPage\\bgrdLoadingPage.dds", 255, 255, 255, 255 ); SetMaterial( 'Loading1', 1 ,"menu\\MenuTextures\\LoadingPage\\bgrdLoadingPage.dds", 255, 255, 255, 255 ); SetPos( 'Loading1',0 , 0, 0); SetDim( 'Loading1',0 , 640, 480 ); SetPos( 'Loading1',1 , 0, 0); SetDim( 'Loading1',1 , 640, 480 ); AddPushButton('Loading1', "Loading12"); AddPushButton('Loading1', "Loading13"); AddPushButton('Loading1', "Loading14"); AddScroll('Loading1', "LoadScroll"); GUISetVisible( 'Loading1', 1 ); SetState( 'Suspects', 1); end function LoadScroll() SetMaterial( 'LoadScroll', 0, "", 255,225,20,20 );-- ND SetMaterial( 'LoadScroll', 1, "", 100,3,3,200 ); SetPos( 'LoadScroll', 0, 250, 220); SetDim( 'LoadScroll', 0, 160, 30); SetPos( 'LoadScroll', 1, 250, 220); SetDim( 'LoadScroll', 1, 160, 30); SetStartStopStep( 'LoadScroll', 0, 100, 1 ) SetState( 'LoadScroll', 1); SetCrtValComtroled( 'LoadScroll', 40 ) end function Loading12() SetMaterial( 'Loading12', 0, "", 255, 255,255,200 );--NSPD SetMaterial( 'Loading12', 1, "", 255, 255,255,200 ); SetMaterial( 'Loading12', 2, "", 255, 255,255,200 ); SetPos( 'Loading12', 0 , 200, 100 ); SetDim( 'Loading12', 0 , 200, 40); SetPos( 'Loading12', 1 , 200, 100 ); SetDim( 'Loading12', 1 , 200, 40); SetPos( 'Loading12', 2 , 200, 100 ); SetDim( 'Loading12', 2 , 200, 40); SetTxt( 'Loading12', 1, 4, "Menu_LoadingCase_Title" ) SetState( 'Loading12', 1); SetNSEW( 'Loading12', 'NULL', 'NULL', 'NULL', 'NULL' ); end function Loading13() SetMaterial( 'Loading13', 0, "", 255, 255,255,200 );--NSPD SetMaterial( 'Loading13', 1, "", 255, 255,255,200 ); SetMaterial( 'Loading13', 2, "", 255, 255,255,200 ); SetPos( 'Loading13', 0 , 200, 150 ); SetDim( 'Loading13', 0 , 300, 40); SetPos( 'Loading13', 1 , 200, 150 ); SetDim( 'Loading13', 1 , 300, 40); SetPos( 'Loading13', 2 , 200, 150 ); SetDim( 'Loading13', 2 , 300, 40); SetTxt( 'Loading13', 1 , 4, "CF_Title" ) SetState( 'Loading13', 1); SetNSEW( 'Loading13', 'NULL', 'NULL', 'NULL', 'NULL' ); end