Hi Pierre... spoke with you over PM about aircraft respawning and following waypoints I had set up. Your reply was this: What you need to do:
- add a group name in the init field of the group helo, just example helo1grp
then, the module expression field becomes:
_newVeh = _this select 0; createVehicleCrew _newVeh; _newCrew = crew _newVeh; _newGrp = group (_newCrew select 0); _newgrp allowfleeing 0; {_x setSkill 1} forEach units _newGrp; _newGrp copywaypoints strikegrp
I changed the name of the group to strikegrp instead of helo1grp but other than that, I added this to the expression line in the vehicle respawn module like you requested. Then in the aircraft object init I added strikegrp to the variable name. when I run the game in the editor the aircraft takes off like it is suppose to and follows all the waypoints I had created, the problem comes when the aircraft is destroyed. A new aircraft spawns in the original position and takes off but will not follow the waypoints it is supose to follow, it just turns and heads south to the corner of the map and just continually circles. This tells me that it is not following or copying the waypoints it is suppose to do when a new aircraft spawns.. any help with this would be appreciated.. thanks Pierre... Ding
Here are the screen shots for the respawn module and the aircraft: