After some comments by GrandpaTrout I decided to start this thread to record my and others learnings in this area. I’ve only started on the simple functions at this point but hope to get proof code for preety much all the call patterns in these two packages.
iTrafficCreation.Start( iMapEntity.FindByName ( "Hoffers Wake Police Headquarters" ) ); // basic traffic in place
//
// made a group of 5 corvettes and sent them on a system patrol.
hgroup traffic_group;
traffic_group = iTrafficCreation.CustomLocalSecurityPatrol( iMapEntity.FindByName ( "Hoffers Wake Police Headquarters" ), ST_CombatHeavy, 5, A_Police, true );
Task.Detach ( start iScriptedOrders.SystemPatrol( traffic_group ) );
//
I’ll post more as I learn more. Particularly the single ship commands.
Cheers,
Joco.
[url=”http://www.torn-stars.com”][center][img]http://www.torn-stars.com/images/jocosig.gif[/img][/center][/url]