A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Dev Help

Author Topic: Dev Help (4 messages, Page 1 of 1)
Moderators: Dennis

Manmax75
Joined: Dec 15, 2008

!!!CAUTION!!! Throw C4 Away From Face.


Posted: Apr 12, 2009 01:35 AM    Msg. 1 of 4       
Hi, I am playing rpg_beta6. What I want to do is eject all the passengers, including me, out of a peli using dev. How can I do this?


I am thinking of using the vehicle_unload command, but I don't know how to make it work.

Thanks In Advanced :)


MF Boom
Joined: Mar 5, 2007

I am the bone of my sword...


Posted: Apr 12, 2009 06:55 AM    Msg. 2 of 4       
Quote: --- Original message by: Manmax75
Hi, I am playing rpg_beta6. What I want to do is eject all the passengers, including me, out of a peli using dev. How can I do this?


I am thinking of using the vehicle_unload command, but I don't know how to make it work.

Thanks In Advanced :)


I don't know how to do it all at once, but you can do it one at a time.

sv_players That will show the list of players from 1-8 (if there are 8 players, for example)... For this, you count them opposite their original numbers (8-1), and number them 0-7, instead.

unit_exit_vehicle (unit (list_get (players) 0)) # I'm pretty sure this is the command to eject someone from a vehicle, replacing the # with their respective number, determined earlier via sv_players. I haven't used it in a while, so I may be slightly wrong.


Me KS
Joined: Feb 2, 2008

Desire is Reality. Xfire: jetmaster23


Posted: Apr 12, 2009 09:37 PM    Msg. 3 of 4       
Quote: --- Original message by: Manmax75
Hi, I am playing rpg_beta6. What I want to do is eject all the passengers, including me, out of a peli using dev. How can I do this?


I am thinking of using the vehicle_unload command, but I don't know how to make it work.

Thanks In Advanced :)


Yep, vehicle_unload is the right command for that. The pelican in RPG Beta 6 is called "opsycretpelican". So you use that for "vehicle". Then, since you want to eject everyone out, you just use empty quotes for the "string" which is the seat marker name. So here's the code:

vehicle_unload opsycretpelican ""


Manmax75
Joined: Dec 15, 2008

!!!CAUTION!!! Throw C4 Away From Face.


Posted: Apr 12, 2009 09:56 PM    Msg. 4 of 4       
Thank you for your help, that what I wanted :)

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 8:45 AM 188 ms.
A Halo Maps Website