![]() |
|
#1
|
|||
|
|||
![]()
Thanks Kodiak. Being new to this FMB I haven't done any scripting before, so I have a few questions.
1) Is this script a fix someone made for the game or is it some of the scripting I'll need to learn as i get further into mission building? 2) Where do I need to copy and paste it to? I'm guessing my mission file somewhere, which i'll find, but where about's in the mission file? or should I do it in FMB ? Thanks for your help. |
#2
|
|||
|
|||
![]() Quote:
![]() Quote:
![]() |
#3
|
|||
|
|||
![]()
Kodiak
Is it just ok to add the script or is it necessary to add some flag or something to you config file for scripts to work? I am working with AP in trying to understand mission building. Thanks |
#4
|
|||
|
|||
![]()
No it's not nessesary to add a flag. If there is a .cs file with the same name as the missionfile it will be loaded and executed (if there are no errors in the script). You can check errors by open the console window in game.
The .cs file with the correct name is automatically created if you press save in the script window. |
#5
|
|||
|
|||
![]()
Cheers mate, i'll add that to my mission.
|
#6
|
|||
|
|||
![]()
Hi kodiak.
I put your script in as suggested and it worked, thanks. But the problem is it seems to affect other things. I have a mission that spawns He 111's when a truck is destoyed. (I believe you know it, Salmo has been helping with it also). Anyway, even though i can't get my mission to work, i put your script in the mission i copied from Salmo (which does work) and it stopped the bombers from spawning. So i deleted the cs. file and they worked again. I don't get it !!! When I open the script in FMB and put in the trigger info etc, it doesnt create a cs file, all triggering info is stored in the mis.file as you know. But anything in the script tab of the script box seems to create a cs.file ( i think i'm correct so far ?). So why then would your script file interfere with the bombers spawning? There seems to be way to much unneccessary crap in this FMB. |
![]() |
|
|