1 #using scripts\shared\system_shared;
2 #using scripts\shared\vehicle_shared;
4 #insert scripts\shared\shared.gsh;
6 #define ANIMTREE "generic"
14 vehicle::add_main_callback(
"civ_pickup",&
main );
31 #using_animtree( ANIMTREE );
34 positions[ 0 ].sittag =
"tag_driver";
35 positions[ 1 ].sittag =
"tag_passenger";
36 positions[ 2 ].sittag =
"tag_gunner1";
38 positions[ 0 ].vehicle_getoutanim_clear =
true;
39 positions[ 1 ].vehicle_getoutanim_clear =
true;
41 positions[ 0 ].vehicle_getinanim = %v_crew_pickup_truck_driver_door_enter;
43 positions[ 0 ].vehicle_getoutanim = %v_crew_pickup_truck_left_frontdoor_open;
44 positions[ 1 ].vehicle_getoutanim = %v_crew_pickup_truck_right_frontdoor_open;
50 #using_animtree( ANIMTREE );
54 const num_positions = 3;
56 for( i = 0; i < num_positions; i++ )
58 positions[ i ] = spawnstruct();
61 positions[0].sittag =
"tag_driver";
62 positions[1].sittag =
"tag_passenger";
63 positions[2].sittag =
"tag_gunner1";
64 positions[2].vehiclegunner = 1;
84 #using_animtree (ANIMTREE);
87 positions[ 0 ].sittag =
"tag_driver";
88 positions[ 1 ].sittag =
"tag_passenger";
89 positions[ 2 ].sittag =
"tag_passenger1";
90 positions[ 3 ].sittag =
"tag_passenger2";
91 positions[ 4 ].sittag =
"tag_passenger3";
92 positions[ 5 ].sittag =
"tag_passenger4";
94 positions[ 0 ].vehicle_getoutanim_clear =
true;
95 positions[ 1 ].vehicle_getoutanim_clear =
true;
105 #using_animtree (ANIMTREE);
109 const num_positions = 6;
111 for( i = 0; i < num_positions; i++ )
113 positions[ i ] = spawnstruct();
116 positions[ 0 ].sittag =
"tag_driver";
117 positions[ 1 ].sittag =
"tag_passenger";
118 positions[ 2 ].sittag =
"tag_passenger1";
119 positions[ 3 ].sittag =
"tag_passenger2";
120 positions[ 4 ].sittag =
"tag_passenger3";
121 positions[ 5 ].sittag =
"tag_passenger4";