View Single Post
  #33  
Old November 17th, 2016, 05:49 AM

Kiwikkiwik Kiwikkiwik is offline
BANNED USER
 
Join Date: Mar 2016
Posts: 183
Thanks: 8
Thanked 21 Times in 16 Posts
Kiwikkiwik is on a distinguished road
Default Re: game Preferences settings

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?
Reply With Quote