Sign in to follow this  
Guest

Problems with Dynamic Scenery

Recommended Posts

Hi!This time I try to develope my first dynamic scenery. But there are some problems with it, so I ask the pros.I want to design working holdingpoint-lights. The object :Pinzgauer is a vehicle and works fine yet. The object in the :TWYF-comman line contains the groundtexture and the polygones for lights above ground. This also works fine. But I have problems with the red lights.I want that FS monitors the RWY, if in use the lights should appear (:StopF)Here the code:Set( Area15mx 32 )Header( 1 N49:00:00.00 N48:00:00.00 E015:00:00.00 E014:00:00.00 )LatRange( N48:00:00.00 N49:00:00.00 )Area15( N48:15:70.00 N48:12:70.00 E014:14:00.00 E014:07:00.00 N48:15:70.00 N48:12:70.00 E014:14:00.00 E014:07:00.00 ) LatRef( N48:13:19.00 ) CallDLibObj( :Pinzgauer 8 0 0338FC65 003E0BE4 0357CFCF 0375CBB0 ) CallDLibObj( :TWYF 8 0 022A721A 0060AE99 02494584 0375CBB0 ):StopF CallDLibObj( :StoplightsF 8 0 05773AAC 0019F01E 014FBCE3 0375CBB0 ) Exit:Pinzgauer SetPos( N48:13:36.38 E014:11:33.30 298 ) Heading( 170 ) ACS( 1 ) MoveXY( 7 109 20 ) Turn( 2 80 1 ) MoveXY( 30 -74 438 ) Turn( 2 350 1 ) MoveXY( 3 -33 -5 ) Turn( 1 314 1 ) MoveXY( 5 -47 -48 ) Turn( 1 350 1 ) MoveXY( 8 -123 -21 ) Turn( 1 350 1 ) MoveXY( 25 -464 -86 ) Turn( 2 260 1 ) MoveXY( 8 14 -91 ) Turn( 2 170 1 ) MoveXY( 12 180 37 ) Turn( 1 152 1 ) MoveXY( 5 52 25 ) Turn( 1 189 1 ) MoveXY( 5 83 -10 ) Turn( 1 170 1 ) MoveXY( 10 153 31 ) Turn( 2 260 1 ) MoveXY( 20 58 -305 ) Turn( 2 170 1 ) MoveXY( 7 94 18 ) Jump( :Pinzgauer ):TWYF SetPos( N48:13:66.315 E014:11:52.750 298 ) Heading( 158 ) IfObjectInBox( :TWYF N48:13:98.753 E014:11:26.767 298 86.9 1500 30 ) Awaken( :StopF ) Jump( :TWYF ):StoplightsF SetPos( N48:13:66.315 E014:11:52.750 298 ) Heading( 158 ) Jump( :TWYF )End15Could anybody give a little help to me?Yours, Klaus

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this