
Qwepir
Joined: Jun 23, 2008
I am as presumptuous as I am poor and Irish
|
Posted: Aug 30, 2008 02:15 AM
Msg. 1 of 6
Would it be possible in a SINGLE PLAYER level to make it so If you're driving a pelican, pressing q forces all the marines/spartans/whatever to get out?
|
|
|

Nexus Halo
Joined: Feb 24, 2007
Halo's Dark Knight http://www.nexushalo.kk5.org/
|
Posted: Aug 30, 2008 04:56 AM
Msg. 2 of 6
You could make it into a door and select melee to open.
|
|
|

Qwepir
Joined: Jun 23, 2008
I am as presumptuous as I am poor and Irish
|
Posted: Aug 30, 2008 05:04 AM
Msg. 3 of 6
But does melee work in vehicles? And besides, I think you're in the wrong thread. I mean press *button* and all the people in the vehicle get forced out, as if you're saying "Bail out"
|
|
|

Donut
Joined: Sep 30, 2006
I swear I'm not actually dead
|
Posted: Aug 30, 2008 12:08 PM
Msg. 4 of 6
yes this is possible. in a script. if you have a certain encounter set to be in the pelican, then have the script check your flashlight state or something like that, run the command "vehicle_unload_magic" basically, that means if you press q, the specified encounter in the specified vehicle(pelican) will get out of the vehicle. if you can get that working it would be pretty cool
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Aug 30, 2008 12:11 PM
Msg. 5 of 6
Sure, easily. Just test for the flashlight state of a pelican, and when it's on, unload all the passenger seats of the Pelican. Here's a quick script:
(script continuous dump_marines (if (= (unit_get_current_flashlight_state pelican_name) 1) (begin (vehicle_unload pelican_name "passengers") (unit_set_desired_flashlight_state pelican_name 0) ) ) )
I'm not sure if it's "passenger" or "passengers", and I'm not sure if all of the rider seats have that marker name, but it should work.
|
|
|

Donut
Joined: Sep 30, 2006
I swear I'm not actually dead
|
Posted: Aug 30, 2008 12:13 PM
Msg. 6 of 6
did you make sure all of those commands are valid? i dont remember seeing vehicle unload, but either way good job on that. /me saves
|
|
|