-- AddXFile( ID, X, Y, Z, XFileName, FLAGS, movieRGB, movieAlpha, linked ) -- AddSprite( ID, X, Y, W, H, PicFileName, FLAGS, movieIdle, movieTalk, linked ); -- Flags: a combination of the following: VISIBLE, ACTIVE, HASALPHA function main() -- This is a 3D scene Is3D( FALSE ); -- Background AddBackground( "motel\\still_tv1" ); -- Displayable items AddSprite( TVFingerPrintHotspot, 292, 167, 128, 128, nil, ACTIVE, 0, 0, TOOLS ); AddEnvironmentSound( nil, "TVSTATIC01" ); -- Effect: fingerprint AddEffectTool( fingerdust ); AddEffectTexture( TVFingerPrint, 292, 167, 128, 128, "obj_tvprint.dds" ); AddEffectHotspot( 285, 160, 8, 8 ); end