nullsystems 0 Posted June 26, 2007 Hi all I have a dilema, something which I cannot find anywhere im afraid. Im trying to achieve the following: On get_in vehicle  request passcode    If correct: start engine  else: get_out Does anyone know how to achieve this? Essentially I want the user to have to enter a small password to be able to start the engine, or within 10 seconds he is booted out the vehicle. Any ideas on how to achieve this? My appologies if I am in the wrong forum. Share this post Link to post Share on other sites
maddogx 13 Posted June 26, 2007 This really belongs in the scripting section. It would indeed be possible using dialogs and some basic scripting. Share this post Link to post Share on other sites
nullsystems 0 Posted June 26, 2007 Sorry about the wrong location. Do you know of any good tutorials or starting points for dialogs? What I was thinking was: 10 Buttons ( 1-0 ) 6 buttons are required for passcode. Each time one of the 6 is pressed, game_logic sets the objectives to DONE, once all 6 are done, it causes a trigger to start the vehicles engine. If a wrong button is pressed, you are ejected from the vehicle, the objectives are set to fail, and you must wait 10 seconds until its unlocked to try again. Pretty easy if you think about it, just never done dialog buttons before. Share this post Link to post Share on other sites
maddogx 13 Posted June 26, 2007 There are one or two tutorials on dialogs I believe, but I don't know where to find them I'm afraid. Your solution makes it sound way too difficult. It would be a lot simpler to create passworded vehicles than that. No need for game logics or objectives. Variables would do fine. Share this post Link to post Share on other sites
nullsystems 0 Posted June 26, 2007 Exellent, I just finnished the password/lock system, works great. Only problem is, someone can lock the vehicle from the ground if they dont know the correct code. Is there a way to add an UNLOCK menu to a vehicles menu while your inside ? ( add to the eject, get out, manual fire etc ). Share this post Link to post Share on other sites
Nutty_101 0 Posted June 28, 2007 addaction is open to everyone. so not just inside. a dialog could be used though, just send it to a corner. Share this post Link to post Share on other sites
frederf 0 Posted June 28, 2007 Clearly you want to make sure that the vehicle cannot be locked while there is someone inside it! Share this post Link to post Share on other sites
MEDICUS 0 Posted June 28, 2007 Here you'll find vektorboson's Dialog-Tut. 1.0 ... but this one is german only. Don't know if there's an english version, too. MfG Medicus Share this post Link to post Share on other sites