Raptor Posted January 1, 2017 Share Posted January 1, 2017 So I'm starting to get route and waypoint "scripting" down but I have a problem. I want a unit that is assigned to a waypoint to retreat if it comes under artillery or direct fire, but I can only assign the "Unit this is under direct fire" to a particular unit I choose specifically. Is it possible to just add a generic modifier for any unit that is going to use that BP? Thanks guys. 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 1, 2017 Share Posted January 1, 2017 (edited) You should be able to click on "direct fire" and it will cycle through other criteria, including "indirect fire". Oh and "this" and "is" will cycle through various options too. Edited January 1, 2017 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted January 1, 2017 Members Share Posted January 1, 2017 In short, whatever is in a white text field can be changed. 0 Quote Link to comment Share on other sites More sharing options...
Raptor Posted January 1, 2017 Author Share Posted January 1, 2017 (edited) Hm maybe I worded that badly. I can choose a specific unit that that behavior will be assigned too in the white text fields, but lets say I want a different unit to use that Embark if option, is that possible or does it require another route/waypoint to be made with that unit in mind? If not its really not a big deal I just want to make sure I'm being efficient Edited January 1, 2017 by Raptor 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 1, 2017 Share Posted January 1, 2017 (edited) Not quite sure what you are getting at but you can: Have Unit A embark on a route if Unit B satisfies (or doesn't satisfy) the condition. Is that what you mean? To achieve that: 1. Select Unit A and create the route 2. Set the "embark if" condition by clicking on "this" and cycling through Unit A, Unit B, etc. (depending on how many units you have). Application: Two units holding ground. To maintain the frontage, you want the right hand one to fall back if the left hand one is being shot at but not before. Edited January 1, 2017 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 1, 2017 Share Posted January 1, 2017 (edited) If that's not the right answer to your question, perhaps outline what you are trying to achieve and happy to help you to build the logic to achieve it. Can also do Teamspeak "phone a friend" for the next 3 hours or so - if that's easier than numerous posts? Edited January 1, 2017 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
Bond_Villian Posted January 1, 2017 Share Posted January 1, 2017 (edited) A 'Guard' type Battle Position with a 'Retreat' route leading back from it might suffice? Some info in the WIKI, http://www.steelbeasts.com/sbwiki/index.php?title=Moving_Units_On_Routes however i believe some of the infantry mounting/dismounting behaviour's described there are not correct. Cheers Edited January 1, 2017 by Bond_Villian 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 1, 2017 Share Posted January 1, 2017 Sure, but if you have two such positions in a line you don't want one pulling back too early as it exposes the remaining one. Anyway I guess they are asleep or off somewhere else, by the lack of follow up comments from Raptor. 0 Quote Link to comment Share on other sites More sharing options...
Raptor Posted January 1, 2017 Author Share Posted January 1, 2017 (edited) Ok, sorry for the late response! I'm back and I have screenshots to help with what I'm trying to ask. So in this screenshot 1A is designated on this retreat back waypoint from its battleposition, it is to retreat if it comes under direct fire and that works just fine. However lets say 2A finds itself near this battle position during the action phase and I want it to also be able to use those same parameters, is there a generic option in the embark if scripting that allows any unit to adopt that behavior from that same route or does one have to be created specifically for 2A during planning to account for this possibility? If this doesn't make sense ill hop on Teamspeak haha! Edit: I noticed one user commented that the waypoint behavior listed on the wiki isn't necessarily correct, is the manual a better source or is it also dated? Edited January 1, 2017 by Raptor 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 1, 2017 Share Posted January 1, 2017 (edited) I can do TS "now" if it helps but I think what you are talking about needs to use the Boolean "OR" (click on the "AND") option at the top of the window. So embark on route if 1A is under direct fire or embark on route if 2A is under direct fire. I'm afraid there is no way to have "any unit" go on the route if under direct fire as you'd then may have units several kms away driving over to hop on the route. If that doesn't help I'll monitor TS for the next 30mins. Edited January 1, 2017 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
Raptor Posted January 1, 2017 Author Share Posted January 1, 2017 5 minutes ago, Gibsonm said: So embark on route if 1A is under direct fire or embark on route if 2A is under direct fire. I'm afraid there is no way to have "any unit" go on the route if under direct fire as you'd then may have units several kms away driving over to hop on the route. Ok, that is the answer I was looking for I was wondering what the "if and" did. This makes sense now, I appreciate you sticking with me on it! 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 1, 2017 Share Posted January 1, 2017 1 minute ago, Raptor said: Ok, that is the answer I was looking for I was wondering what the "if and" did. This makes sense now, I appreciate you sticking with me on it! So the way to do that is to tick the first green box (to the left of "AND" above). Create the first condition (say "1A"). Click on the "AND" to change it to "OR". Click on the second green box (the one to the right of the now "OR). Create the second condition (say "2A"). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.