.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > ProSimCo > BCT, ATF, AATF and Battle Group Commander Series
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old September 9th, 2003, 06:04 PM

[Deltapooh] [Deltapooh] is offline
Private
 
Join Date: Jun 2002
Location: Louisiana
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
[Deltapooh] is on a distinguished road
Default ATF: Assigning Paths/Prerequisite Data

Yesterday, I was jumping for joy at finally figuring out how to copy and paste data from the clipboard to be used in AI scripting. Today, I'm weeping.

My intent:

I want my an enemy platoon to attack an LZ when friendly forces arrive.

Script:

1. Drew path for desired enemy unit to LZ, making sure the unit was not in stop mode, then cut the path.

2. Went into AI Faction->Create->Prerequisite Data->Add->Route. I gave the route a name, and left other boxes empty, and clicked ok. The builder asked me if I wanted to use the path on clipboard. I clicked yes, and path was added.

3. Went and drew an event Box around the LZ

4. Went back to AI Faction->Edit->Enemy->Phase Order->Sustain Order->Then set up an Event Box. I tagged the helicopter company to hierarchy giving them a setting of 0 greater than/not equal to.

5. Then set up an order Assign Path, chose the unit, and selected the path stored in game.

So why the heck aren't they moving?

I tried to test my plan in the builder. I drew a path to for the helicopters to the LZ. Nothing happens.

I assigned the enemy force I wanted to move a formation. When the helios reach the LZ, they seem to form up, but stop.

Any info would be appreciated.
Reply With Quote
  #2  
Old September 10th, 2003, 05:50 PM
Patrick Proctor's Avatar

Patrick Proctor Patrick Proctor is offline
Brigadier General
 
Join Date: Jan 2000
Location: Manhattan, KS, USA
Posts: 1,909
Thanks: 0
Thanked 21 Times in 12 Posts
Patrick Proctor is on a distinguished road
Default Re: Assigning Paths/Prerequisite Data

This is the correct way to do it. When you assign a path, it automatically makes the first node a stop node. This is done in case you want the unit to just change facing, not move.
__________________
PAT PROCTOR
ProSIM Company
http://www.prosimco.com/writing
Reply With Quote
  #3  
Old September 11th, 2003, 01:12 AM

[Deltapooh] [Deltapooh] is offline
Private
 
Join Date: Jun 2002
Location: Louisiana
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
[Deltapooh] is on a distinguished road
Default Re: Assigning Paths/Prerequisite Data

Figured it out. I had to give the unit a cancel toggle order ->stop. It worked. I was wondering if there is another way to do this without having to cancel order. I do uncheck stop before I test the unit. They just go back into it when the clock starts ticking.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:23 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.