Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2012-06-20 17:56        
     
Alright, im trying to make a map, in which the pilot starts as a man, and enters an empty airplane.
In his Init i have:
This assignasdriver plane; this moveindriver plane
"plane" is the name of the airplane he is moving into.
The pilot will get in, but just sit there.
On editor he is just a man, but when i start it the script assigns him into the plane, so he basically starts in the plane.
I put a way-point on him, but when he gets in the plane he doesn't move. he just sits there. Runway is clear also.



I want him to get in the plane, taxi on the runway, take off and go to the way-point.
Any help would be greatly appreciated.


Author Message


Posts: 20277
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 41
In-game name: Foxhound

 
#2 Posted at 2012-06-20 19:08        
     
Editing questions belong in the editing section. It has nothing to do with troubleshooting!

Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message

W0lle  

call me evil


Posts: 1944
Rank:


Country: de
Location:
Occupation: CWR² Project Lead
Age: 101
In-game name:

 
#3 Posted at 2012-06-20 20:37        
     
This assignasdriver plane; this moveindriver plane
That's not a script but simply two commands in one line.

The pilot will get in, but just sit there.
Yeah, well that's what above commands do.

On editor he is just a man, but when i start it the script assigns him into the plane, so he basically starts in the plane.
And how on earth the unit shall know what to do if you place him just into the plane without any information where to go after?

I want him to get in the plane, taxi on the runway, take off and go to the way-point.
Waypoint 1: Directly on the plane, type: Get In

Waypoint 2: Wherever you want him to fly after.

No commands, no scripting required at all. If the terrain is correctly designed he finds the taxiway on his own and then taking off from the runway.