Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   IL-2 Sturmovik: Cliffs of Dover (http://forum.fulqrumpublishing.com/forumdisplay.php?f=189)
-   -   how to spawn airgroups after another one is destroyed? (http://forum.fulqrumpublishing.com/showthread.php?t=27079)

David198502 10-14-2011 03:55 PM

how to spawn airgroups after another one is destroyed?
 
the title says it all.i want to build a simple mission where an enemy airgroup should spawn after another one gets destroyed?i think i would need step by step instructions as another thread with the same question didnt help me...

adonys 10-14-2011 06:15 PM

chek on OnActorDestroyed function if the aircraft is part of that flight group, and if yes, subtract it from the total number of actors of that group.

when it reaches 0, it means there are no more actors from that group..

David198502 10-15-2011 08:52 AM

thx adonys but i just dont understand that...i think im just too stupid to ever be able to spawn planes in that game....why cant it be as simple as in 1946???

David198502 10-15-2011 10:49 AM

anybody else, who may be able to explain me what and how to do???
maybe someone is so kind to upload a mission which does spawn a group of planes after another one gets destroyed??????

David198502 10-15-2011 11:12 AM

1 Attachment(s)
thats what i did so far...

adonys 10-15-2011 12:12 PM

1 Attachment(s)
Here's a training mission which spawns three waves of enemies for you, as soon as the previous one was destroyed.

I've forgot from where I've got it, but it must be from somewhere around here.

And btw, spawning an airgroup in IL2CoD is as easiest as in IL21946u using the FMB. What you want to do is something different, which needs scripting. I'm not sure if 1946b had a FMB automatic way to do it.

Also, do yourself a favor and get some Beginner C# learning book. It's not so complicated actually, specially when it comes about just learning to do basic things in CoD's scripts.


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

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