Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2012, 08:06 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default Lock player into plane for set time?

An unusual request I know, but I want to lock a human player into a plane for a pre-set time after they land. ie. not escape-key to refly, no exiting the airfield screen they have when they land until time expired.

code removed by author
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE

Last edited by salmo; 10-18-2012 at 09:10 AM.
Reply With Quote
  #2  
Old 10-10-2012, 03:30 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

You can force the Player with player.PlaceEnter(..) back into his plane if he is trying to leave it.
Reply With Quote
  #3  
Old 10-10-2012, 04:23 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Quote:
Originally Posted by FG28_Kodiak View Post
You can force the Player with player.PlaceEnter(..) back into his plane if he is trying to leave it.
Thankyou Kodiak, I'll try something like this ...

code removed by author
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE

Last edited by salmo; 10-18-2012 at 09:10 AM.
Reply With Quote
  #4  
Old 10-17-2012, 04:44 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Kodiak, This doesn't seem to work? Is it bugged?

code removed by author
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE

Last edited by salmo; 10-18-2012 at 09:38 AM.
Reply With Quote
  #5  
Old 10-18-2012, 09:22 AM
theOden theOden is offline
Approved Member
 
Join Date: May 2011
Location: Sweden
Posts: 221
Default

That code works for me.

Pressing Escape and clicking the flag to change aircraft I get returned into cockpit.
As host on my server.

Can you describe your process/environment, step-by-step?
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:27 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.