![]() |
|
|
|
#1
|
|||
|
|||
|
Try reducing timings for testing purposes setting e.g. 3 min repeat 1 min delay and see what happens.
|
|
#2
|
|||
|
|||
|
Quote:
probably should have mentioned that... |
|
#3
|
|||
|
|||
|
Than it should work with bigger figures if you set the 1st figure greater than the 2nd in all cases. Try showing the complete code maybe someone finds a mistake in another part that influences this part. It helped me 2 times at least.
|
|
#4
|
||||
|
||||
|
I am using the following script to send an immediate message to the player when he enters the cockpit (picked up earlier from this thread):
Quote:
if (aircraft.Name (). Equals (GamePlay.gpPlayer (). Place (). Name ())) edit: And sorry to be so dumb but I want to get a carriage return/line feed into the longer messages. I tried: { GamePlay.gpHUDLogCenter(new Player[] { player }, "Get Organised! Watch for Radar Controller information. \r\n Plan your tactics and meet the enemy! Provide escort for bombers where possible."); } but it doesn't like it. Any ideas?
__________________
klem 56 Squadron RAF "Firebirds" http://firebirds.2ndtaf.org.uk/ ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders Last edited by klem; 05-21-2011 at 10:37 AM. |
|
#5
|
|||
|
|||
|
I think you should add Divebomber type to this script as stated here
http://forum.1cpublishing.eu/showpos...1&postcount=63 Can not answer other questions. |
|
#6
|
||||
|
||||
|
Quote:
__________________
klem 56 Squadron RAF "Firebirds" http://firebirds.2ndtaf.org.uk/ ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders |
|
#7
|
|||
|
|||
|
Im trying different things with these scripts by picking through other peoples. I have been trying various methods to ensure missions repeat, though so far they only repeat once for some reason.
Anyway instead of using the tick counter i have been looking at the init time settings people have been using. If i understand it correctly this allows a certaqin number of seconds to pass before carrying out whatever command you set. This is a test script I am having problems with: PHP Code:
However when I test the mission, endless stukas spawn and blow each other up, in other words far more than 1!!!! I have no idea about scripts, I have been picking bits out of other peoples, inserting them, hitting 'compile' and then testing the effects in game. I would be grateful if anyone can have a look and see where I am going wrong. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|