Nupremal Posted October 4, 2008 Share Posted October 4, 2008 Can I set more than 1 in a single order? Does it read "or" - I presume so, since "and" would be impossible Just want to be sure.. like: #GV= 7[1,70] #GV= 7[81,100] 0 Quote Link to comment Share on other sites More sharing options...
Moonslayer Posted October 5, 2008 Share Posted October 5, 2008 AFAIK if you use multiple global variables they have to be different ones. The logic function is then 'and' not 'or'. eg: #GV = 1[1,70] #GV = 2[81,100] This way you can fine tune your tactics. I have never come across a situation that would need an 'or' function. In your above example just set #GV = 1[1,90] to get the same odds. 0 Quote Link to comment Share on other sites More sharing options...
Nupremal Posted October 5, 2008 Author Share Posted October 5, 2008 I can duplicate it but my reason I am setting up certain strategic modes by GV 0 Quote Link to comment Share on other sites More sharing options...
Moonslayer Posted October 5, 2008 Share Posted October 5, 2008 Why can't you use different GVs for the different strategic modes? With a few more details I may be able to offer more useful help 0 Quote Link to comment Share on other sites More sharing options...
Nupremal Posted October 5, 2008 Author Share Posted October 5, 2008 No this works fine, all it made me do was break 1 order into 2 that is all - and only sometimes. Really I was just doing that for the sake of economy. I fixed it already. 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted October 9, 2008 Share Posted October 9, 2008 Nupremal, just to confirm, only one GV is read for a single event. 0 Quote Link to comment Share on other sites More sharing options...
Nupremal Posted October 9, 2008 Author Share Posted October 9, 2008 Ok - that is what I am assuming from now on - it did not hit me with an error message for 2 so I was not sure. The error messages for scripts are very valuable by the way. I also discovered that the unit event needs an impossible position condition for the date to default. Otherwise if the position is satisfied it still happens then. 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted October 9, 2008 Share Posted October 9, 2008 Sounds like you are getting the hang of it 0 Quote Link to comment Share on other sites More sharing options...
Moonslayer Posted October 9, 2008 Share Posted October 9, 2008 Nuts, sorry, Nup, I fell into the same trap as you. No error message so I thought all was good. Cheers for the info, HC. I will stop using multiple GVs in some of my mods. Fortunately I haven't used any in my PTO mod. Maybe an idea for the future, however? 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted October 9, 2008 Share Posted October 9, 2008 To be honest I never thought about it as an option but I think it could work 0 Quote Link to comment Share on other sites More sharing options...
Moonslayer Posted October 10, 2008 Share Posted October 10, 2008 I had been using multiple GVs in my Star Trek mod (freshly converted to Pacific Theatre ) as it would have allowed me to use variations within variations. For example: GV#1 = Klingon Aggression (1-50 = Aggressive Raiding, 51-100 = Aggressive Conquering) GV#2 = Klingon Tactics (1-25 = Against Borg, 26-50= Against Romulans, 51-75 = Against Cardassians, 76-100 = Against Minors) Hence if GV#1 = 27 and GV#2 = 43 then the Klingon scripts have a bias towards fleet actions against the Romulan Star Empire. Using 2 GVs it is then possible for me to coordinate the scripting of the other races to ensure greater variability of how the game plays out. However it seems I have been over ambitious... at least having only one GV used at any time it will make scripting easier 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.