![]() |
|
#1
|
|||
|
|||
![]() Quote:
An elegant way to process triggers can be found in this script from the devs http://forum.1cpublishing.eu/showthread.php?t=23493 The only action available in the game now is creating a group of aircraft. It can be also achieved by just loading a submission with this group of aircraft. Furthermore you can spawn ground and sea units this way. You may read this thread for some basics on scripting http://forum.1cpublishing.eu/showthread.php?t=21518 This is where it all started. Last edited by Ataros; 06-13-2011 at 07:38 AM. |
#2
|
||||
|
||||
![]() Quote:
It would also be nice if we could have a central refrence spot in the forums where you guys that know how to write these script could maybe somehow catgorize them so that when we are building missions .. We could find a script that best fits our needs. Does this sound like something that is feezable.. Or are the scripts too obscure to catagorize? Ribbs
__________________
![]() Windows 7 Home Premium 64-bit/AMD Phenom(tm) II X4 B50 Processor (4 CPUs), ~3.3GHz/NVIDIA GeForce GTX 460 2gig/8gigs of RipJaw 1600 |
#3
|
|||
|
|||
![]() Quote:
To use multiple scripts in the same mission you should copy them into one script file. The problem is that to do this correctly you have to understand more or less what each line of the script is doing, i.e be able to read the C# language plus know some basics like class/object/methods/namespaces definitions and differences. The easiest approach would be: 1) Buy one 200-page book titled smth like Introduction/beginners/dummies course/guide to C#. Or download a similar free online course. 2) Read all the scripts posted in this forum sections using the book as a dictionary to look up everything that you do not understand in a particular script. 3) Check this site for further information if the book does not help http://msdn.microsoft.com/en-US/vcsharp/aa336766.aspx 4) Ask questions on scripts you are reading if you do not understand something from the above sources. And there is nothing to categorize yet as most of available scripts are mentioned in this thread already. A couple of others can be found in missions posted in this forum section and in Multiplayer section. Last edited by Ataros; 06-13-2011 at 06:53 PM. |
#4
|
||||
|
||||
![]()
Thanks so much for your help Ataros and EnlightenedFlorist. I will definately check out the link in your reply, I'm realy intrested in learning the in's and out's of the C# language...lots to learn I see..
![]() Ribbs
__________________
![]() Windows 7 Home Premium 64-bit/AMD Phenom(tm) II X4 B50 Processor (4 CPUs), ~3.3GHz/NVIDIA GeForce GTX 460 2gig/8gigs of RipJaw 1600 |
![]() |
|
|