plane prob

Post any questions about MOH:PA mapping, modeling, scripting or skinning here.

Moderator: Moderators

Post Reply
User avatar
MasterMind
Major
Posts: 316
Joined: Thu Jul 15, 2004 12:10 am

plane prob

Post by MasterMind »

heres my script for the plane i have. when i get in the game, theres no plane :?

Code: Select all

main:


level waittill spawn
	
	dprintln "Script working"

	thread init_plane

	end

//----------------------------------------------------------------------------        

init_plane:

//----------------------------------------------------------------------------

 

                $plane stop

 

                // you can use mess with these values to adjust the smoothness the plane             

                // will transition between the nodes

 

                $plane maxyawrate 360

                $plane maxpitchrate 360

                $plane maxrollrate 150

 

                $plane thread plane_fly $plane_path                 

                end

                

//----------------------------------------------------------------------------        

plane_fly local.path:

//----------------------------------------------------------------------------

 

                                self autopilot local.path 

                                self waitmove                        // waits till plane has flown the path

                                self remove                            // deletes plane after it has finish the path

 

                end

is there anything wrong with it?
Jesus built us a bridge, with 2 boards and 3 nails.
Post Reply