![]() |
|
|
|
#1
|
|||
|
|||
|
Thank you. Implemented this into my mission script and put it online, currently running on the III/JG27 Server. Unfortunatly I have no chance to test it.
But I got it to the "plane-destroy-after-ESCleaving-script" with its OnPlaceLeave- and OnPlayerEnter- Call-ups, without putting out error messages, so far. So the plane is destroyed after abandoming and the player should get 10mins break, by blocked fuel pump in the next 10mins (I increased the time and that was what I thought the script does) If someone is able to test it on our server, please report back. My Mission-Skript looks following: ...Well, 169574 characters and only 50000 allowed....
__________________
http://cornedebrouwer.nl/cf48e Last edited by SNAFU; 09-09-2011 at 04:57 PM. |
|
#2
|
|||
|
|||
|
Testing now - at the moment i've to wait 10min
|
|
#3
|
|||
|
|||
|
Another suggestion is to print time left for player till he can create new plane on screen.
Is it possible to add the last damager to the chat message for everyone to let everyone know who shot him down? |
|
#4
|
|||
|
|||
|
Wouldnt that show the last person to get a plink on him to be the killer..I.e gets credited with the kill?
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
|||
|
|||
|
@SNAFU
The fuelpump doesn't block! Haste mal wieder die Klammern durcheinandergebracht? Quote:
Quote:
|
|
#7
|
|||
|
|||
|
Maybe something like this would work?
Code:
(actor as AiAircraft).hitNamed(part.NamedDamageTypes.Eng0TotalFailure); |
|
#8
|
|||
|
|||
|
At my Testmission FuelPumpFailure works without a problem. So i dont know what's going wrong.
|
|
#9
|
|||
|
|||
|
@Kodiak, nö, dann hätte er ja Fehlermeldungen rausgespuckt. I just get the usual "Object not set to a reference" messages as before, nothing unusual...
Does the script recognize that the player just spawned and wants to change the airfield, so didn´t even takeoff? Will the player get a penalty then also? I attached the script below. I have also the "plane-destroy-after-abandoming" script running, so I have troubles with calling up the "OnPlayerLeave" parts twice.
__________________
http://cornedebrouwer.nl/cf48e Last edited by SNAFU; 09-09-2011 at 07:43 PM. |
|
#10
|
|||
|
|||
|
No the script uses Aircraft.IsAirborne, if true the plane is in the Air, if false the plane is on ground. But this works only again in the Beta Patch and then i hope so forever after the next reqular patch.
I will take a look at your script. At the moment i work on your Death penalty -> Brzzzzlll |
![]() |
| Thread Tools | |
| Display Modes | |
|
|