Jump to content

Disabling base when player spawning


Recommended Posts

Posted

Hello all,

 

I m trying to do this

When a player spawn on a airplane all other parking are disable

 

In fact i have divise my mission in fonction of player's plane

bomber

hunter

attacker

 

The airfield get 3 differents base one for each type

When a player spawn with a selected type of planes the following player can't select an other type

 

 

i have try this

On player Spawn --> trigger timer 0.1sec --> trigger deactivate --> airfield

But no effect

I have also try that

On player spawn --> trigger timer 0.1sec --> Command Behaviour (airfield go to neutral) --> airfield

But not working more

 

Great thanks for lighting my mind

Posted (edited)

Try setting Float Param to -1 in the behavior command (although your Neutral setting should work, hmm).

Edited by JimTM
Posted

I try your idea but i get no more results

Posted (edited)

The attached mission works and demonstrates the idea I gave above. Spawn in the FW190 and then exit the plane. The FW190 spawn airfield is disabled. Spawn in the Bf109 and then exit the plane. The Fw190 spawn airfield is enabled once again. You can also use country Neutral instead of Float Param.

 

JimTMTestAirfieldDisable.zip

 

 

Edited by JimTM
Posted

Wonderful marvelous fantastic

 

It works . I delete the trigger timer between the command spawning and the command behavior and it solve my problem

 

 

Many thanks for your answer and your time

Posted

Glad to help. I wonder if your timer was set to something other than 0.1 second? I would think that the timer would work too. Maybe it was longer than you expected or maybe shorter (e.g., 0.1 milliseconds)?

Posted

the timer is set to 1sec  but   for a reason  i can't explain  if i use is it between the airfield spawn command and the behaviour command my system does not work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...