
andres
Joined: Oct 26, 2010
|
Posted: May 28, 2012 01:36 PM
Msg. 1 of 9
I need a script that is available for a pelican come and take the player and the game is over
|
|
|

G_Maverick
Joined: Apr 30, 2012
Half the world has an IQ below 100.
|
Posted: May 28, 2012 02:39 PM
Msg. 2 of 9
(sleep_until (= (vehicle_test_seat_list <vehicle> <seat_name> (players))1)15) (recording_play <vehicle> <cutscene_recording>) (fade_out 1.0 1.0 1.0 60)
|
|
|

MoooseGuy
Joined: Aug 10, 2008
I Approve This Message.
|
Posted: May 28, 2012 02:41 PM
Msg. 3 of 9
If you want a good example of that implemented into a level with a switch that sets it off, go check out the scripts from the firefight-descent tagset release thread.
|
|
|

G_Maverick
Joined: Apr 30, 2012
Half the world has an IQ below 100.
|
Posted: May 28, 2012 02:51 PM
Msg. 4 of 9
A switch with that would only be a global variable, andres, which is easy to set up. If for some reason you're unsure how to do that, look up "global variable" in the halo scripting bible. When the global variable turns to a one, it wakes the dormant script with the lines I gave you.
|
|
|

andres
Joined: Oct 26, 2010
|
Posted: May 29, 2012 01:25 PM
Msg. 5 of 9
this is my script and sia globals not you mean it.
(global "boolean" global_mission_won false )
(global "boolean" global_mission_lost false )
(script startup extraction1 (begin (ai_allegiance player human) (sleep_until (= (device_get_position panel) 1.0) 15) (object_create pelican_final ) (object_create jeep ) (activate_team_nav_point_object default player pelican_final 0.6) (ai_place jeep_marine ) (vehicle_load_magic jeep "gunner" (ai_actors jeep_marine/gunner )) (vehicle_load_magic jeep "passenger" (ai_actors jeep_marine/passenger )) (vehicle_load_magic pelican_final "p-riderrf" (ai_actors ai/ai )) (vehicle_load_magic pelican_final "p-riderlm" (ai_actors ai/ai1 )) (unit_enter_vehicle jeep pelican_final "cargo" ) (object_teleport pelican_final pelican_final_flag ) (recording_play_and_hover pelican_final back_cship_descend ) (sleep (recording_time pelican_final ))(unit_exit_vehicle jeep )) (deactivate_team_nav_point_object player jeep ) (sleep_until (vehicle_test_seat_list pelican_final "p-riderlf" (players))) (player_enable_input false ) (recording_play pelican_final back_cship_exit ) (cinematic_start ) (fade_out 1.00 1.00 1.00 99) (sleep 10 ) (camera_control true ) (camera_set scen1 100 ) (sleep 60 ) (fade_in 1.00 1.00 1.00 30) (camera_set scen2 100 ) (sleep 60 ) (camera_set scen3 100 ) (sleep 60 ) (camera_set scen4 100 ) (sleep 60 ) (camera_set scen5 100 ) (sleep 60 ) (camera_set scen6 100 ) (sleep 60 ) (camera_set scen7 100 ) (fade_out 1.00 1.00 1.00 99) (sleep 60 ) (game_won) (cinematic_stop))
|
|
|

G_Maverick
Joined: Apr 30, 2012
Half the world has an IQ below 100.
|
Posted: May 29, 2012 04:41 PM
Msg. 6 of 9
Looks good, any other problems? Oh, and on a single-player map, I don't think "game_won" does what you think it does. It's not really necessary for your script, as it doesn't actually end you map and send you back to the main title screen.
|
|
|

andres
Joined: Oct 26, 2010
|
Posted: May 30, 2012 01:47 AM
Msg. 7 of 9
yeah and thanks for all and I finish my map and I'll upload to the halo maps and tell me that you think I am new to this remember
|
|
|

G_Maverick
Joined: Apr 30, 2012
Half the world has an IQ below 100.
|
Posted: May 30, 2012 07:16 PM
Msg. 8 of 9
Sweet, I'm looking forward to it. What is the name of the map, so I can look it up.
|
|
|

andres
Joined: Oct 26, 2010
|
Posted: Jun 4, 2012 01:19 AM
Msg. 9 of 9
the name is "deathwarsv1.0" as I upload the map to halo maps? Edited by andres on Jun 4, 2012 at 01:22 AM
|
|
|