PDA

View Full Version : Setting a new way with SetWay()



reaper
Dec-18-2013, 17:41
Hi,

I'm trying to set a new way to AiGroup. I was trying the SetWay(AiWayPoint[] way) method but it didn't work. Not sure exactly what is the problem. As a parameter I put array of newly created AiWayPoints with new Point3d objects.. I guess thats the problem. In IL2DCE code (http://code.google.com/p/il2dce/source/browse/trunk/IL2DCE/IL2DCE.Mission/MissionPersistent.cs?r=319#498) they are just updating the waypoints..

Is it really the only way to change waypoints?

Thanks.

reaper

ATAG_Lewis
Dec-19-2013, 12:03
Welcome to the community and forums reaper....~S~

Sorry Reaper..no help from me I'm afraid...Just a welcome post...Hopefully someone with a lot more brains than I will be along shortly with some advice....~S~

Good to have you with us buddy...and Have Fun!!!

...lew...

reaper
Dec-19-2013, 16:27
Hi again and thank you for welcome :)

Hopefully someone will know how to solve my issue :)

Maybe I should alter my question. How do you set waypoints to groups? (in code)

Thanks.

reaper