Home   Help Search Login Register  

Author Topic: TurnOut Command  (Read 1442 times)

0 Members and 1 Guest are viewing this topic.

Offline EchoTwoZero

  • Members
  • *
TurnOut Command
« on: 27 Apr 2010, 23:18:40 »
Hopefully someone can help me with this!

Im trying to make a mission where the player is a driver in a tank and as soon as the mission starts, they turn out. (they are the only person in the tanl, no AI)
I've got it working so they start in the tank, but I cant seem to get the command for turn out working.

The tank is named tank1, and the played is moved into it with the 'this moveindriver tank1' code.

Cheers in advance!

Offline Loyalguard

  • Former Staff
  • ****
Re: TurnOut Command
« Reply #1 on: 27 Apr 2010, 23:47:49 »
I assume you are using this syntax:

Code: [Select]
player action ["TURNOUT", vehicle player];
That being said, maybe a silly question: Can a tank driver turnout?

Offline EchoTwoZero

  • Members
  • *
Re: TurnOut Command
« Reply #2 on: 28 Apr 2010, 19:54:41 »
Yeah the tank drive can turn out, and normally I would just assign it to a keypress but this part is meant to be scripted and happen with a trigger.

I tried the player action ["TURNOUT", vehicle player]; but cant seem to get it working.
Its probably something really stupid on my part!

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: TurnOut Command
« Reply #3 on: 29 Apr 2010, 08:51:04 »
Are you sure the tank driver can turn out?

Because not one of the vanilla game tanks allow that if you start as a driver. You can only turn out as a driver if you start as a commander and switch to the driver seat.

You can't "play" actions that can't be used..
« Last Edit: 29 Apr 2010, 09:00:42 by h- »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: TurnOut Command
« Reply #4 on: 29 Apr 2010, 13:43:48 »
You could try making sure the player is set to "safe" (either setbehaviour or a waypoint), then he should be turned out by default from the start. Works with a full tank, at least...

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"