View Single Post
  #34  
Old November 17th, 2016, 04:01 PM
Imp's Avatar

Imp Imp is offline
General
 
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
Imp is on a distinguished road
Default Re: game Preferences settings

Quote:
Originally Posted by Kiwikkiwik View Post
Im not sure if I was clear enough before,
I think that in computer talk we are dealing with a string?
So when the string is built isn't it easy to not put the range info in?
The change would be something like
muyunitnamevariable + " firing at " + opponentsunitsnamevariable + carriagereturn + "Range " + rangevariable + " metres"
to
muyunitnamevariable + " firing at " + opponentsunitsnakevariable
So just dont call the global rangevariable when building the string, wherever else the Global rangevariable is used is unaffected.
This truncated message can then be passed around, stored, discarded or displayed just like the origional is?
Try playing with the hex grid off the game looks far better & you have to judge ranges, I put them on sometimes if close fighting is happening for example in woods
__________________
John
Reply With Quote