Deltapooh
Member
- Joined
- Sep 2, 2002
- Messages
- 649
- Reaction score
- 1
- Location
- Closer than is safe for my enemies
- Country
I've been stumped on two scripting problems. How do you get Call Back Count and Unit Status to end a phase.
Set up:
Enemy force starts out in defensive holes. Should player attempt to envelop enemy force, I want them to mount up up and attack to defeat blue force.
Scripting Setup:
Prerequisite Data:
Route: Route I want enemy force to use on order
Objective: Provided objective for enemy force to attack and secure
Phases:
Phase I:
Initiate Hierarchy Orders: Left Blank
Sustain Orders: One order: Order Execute Conditions-Event Box (BLUEFOR) tagged; Hierarchy Orders-Cancel Toggle Order, Hold Fire (for one unit) Cancel Toggle Order, Hold Fire (for a second enemy unit);
Phase End Conditions-Event Box (BLUEFOR tagged)
Phase II:
Initiate Hierarchy Orders: Cancel Toggle Order, Hold Fire (For third enemy unit)
Sustain Order: One order; Order Execute Conditions-Event Box (BLUEFOR); Hierarchy Orders-Mount (enemy force tagged)
Phase End Conditions-Unit Status-Mission Code (left blank), Echelon (left blank, but did check once did nothing to help), Unit Type (Dismount (all Mounted/Dismounted set), Hierarchy Name (appropriate unit selected), check true? (I checked this. If I don't, the phase seems to end before the units are mounted.)
Phase III
Initiate Hierarchy Orders: Assign Path (path selected)
Sustain Order: Left blank for now, will fill with order to conduct a wave assault)
Phase End Conditions: Call Back Count: I select the proper hierarchy, enter 100 for force percentage, selected one condition or the order, and finally enter the number of vehicles in that hierarchy.
When I test the plan, everything works up to the end of phase II. They enemy unit mounts up, but doesn't move, or even be assigned a path. I deleted Phase III just to check if the plan would end. It doesn't. That works for both Call Back Count and Unit Status.
For Call Back Count, do you need to enter the number of vehicles in the hierarchy, the number of dismounts, or the number of carriers? The same goes for Hierarchy Count, what number is the engine looking for?
Thanks
Set up:
Enemy force starts out in defensive holes. Should player attempt to envelop enemy force, I want them to mount up up and attack to defeat blue force.
Scripting Setup:
Prerequisite Data:
Route: Route I want enemy force to use on order
Objective: Provided objective for enemy force to attack and secure
Phases:
Phase I:
Initiate Hierarchy Orders: Left Blank
Sustain Orders: One order: Order Execute Conditions-Event Box (BLUEFOR) tagged; Hierarchy Orders-Cancel Toggle Order, Hold Fire (for one unit) Cancel Toggle Order, Hold Fire (for a second enemy unit);
Phase End Conditions-Event Box (BLUEFOR tagged)
Phase II:
Initiate Hierarchy Orders: Cancel Toggle Order, Hold Fire (For third enemy unit)
Sustain Order: One order; Order Execute Conditions-Event Box (BLUEFOR); Hierarchy Orders-Mount (enemy force tagged)
Phase End Conditions-Unit Status-Mission Code (left blank), Echelon (left blank, but did check once did nothing to help), Unit Type (Dismount (all Mounted/Dismounted set), Hierarchy Name (appropriate unit selected), check true? (I checked this. If I don't, the phase seems to end before the units are mounted.)
Phase III
Initiate Hierarchy Orders: Assign Path (path selected)
Sustain Order: Left blank for now, will fill with order to conduct a wave assault)
Phase End Conditions: Call Back Count: I select the proper hierarchy, enter 100 for force percentage, selected one condition or the order, and finally enter the number of vehicles in that hierarchy.
When I test the plan, everything works up to the end of phase II. They enemy unit mounts up, but doesn't move, or even be assigned a path. I deleted Phase III just to check if the plan would end. It doesn't. That works for both Call Back Count and Unit Status.
For Call Back Count, do you need to enter the number of vehicles in the hierarchy, the number of dismounts, or the number of carriers? The same goes for Hierarchy Count, what number is the engine looking for?
Thanks