Page 1 of 1

Force Characters OUT of a vehicle?

Posted: Tue Nov 07, 2006 5:16 pm
by Ace_Azzameen_5
I was just wondering if it was possible to force characters out of a vehicle using the lua script. You know, so we can wire it to f4 and allow ejecting.

Also, if anyone knows the force into vehicle code, or rather a few lines that will shove me into a jedi starfighter at the beginning of a space map, could you please post it?


Just posting this to give the coding elite something to work on. I mean, I've said stuff before and it helped, so why not.

Oh yeah. . . Archer01, you're not allowed to try and get this to work. Operation FM ftw!

P.S.

I was thinking, could "team damage off" mine hoes be killed by a script that checks whenever a human player is withing such n such a distance of a destroyed mine and then kills them?

IF that sounds remotely possible, maybe someone "for whom lua comes easy to" should check it out. I think having team damage off for everything BUT mines would be a good thing.

RE: Force Characters OUT of a vehicle?

Posted: Tue Nov 07, 2006 5:37 pm
by [RDH]Zerted
Use search to find the code that forces a player into a vehicle.

I don't think you can add a new keyboard command through the Lua.

RE: Force Characters OUT of a vehicle?

Posted: Tue Nov 07, 2006 7:41 pm
by Delta_57_Dash
uhm... f4 is tied into "get in" and "get out" voice commands.

would mess stuff up (assuming you COULD wire it)

Posted: Tue Nov 07, 2006 10:48 pm
by Syth
look at the geo campaign script. in the begining of the misson theres a disabled hail fire.

Posted: Tue Nov 07, 2006 10:54 pm
by Ace_Azzameen_5
The Lua doc says that get in get out etc can trigger a call back.

Posted: Wed Nov 08, 2006 6:14 am
by Pi314
look at his avatar! i think he wants to eject during flight.

Posted: Wed Nov 08, 2006 5:50 pm
by sawyerdk9
Maybe you should try looking in the fusion cutter odf. Dosn't it force people out when you slice into a vehicle?

Posted: Fri Nov 10, 2006 6:22 pm
by Ace_Azzameen_5
Hmm, thats a good idea, an eject weapon. . .

I remember if you made a fusion cutter heal health, it will affect the fire-er (if no friendlies are in range) so maybe the eject function will work the same way .

Yeah, anyway, I was just thinking of a way to rig an eject function.