Jump to content

Range of Variable Values


jeffryfisher

Recommended Posts

Has anyone experimented with the maximum possible value one can cram into a variable (e.g. GameVariable1)? If I set the slider to the left so that I assign the trigger result, then how big can it be? What if I just assign 100 in one event and then add 100 in another?

If I don't hear back, then I will eventually get around to running some tests.

Link to comment
Share on other sites

Trigger values can be big numbers.  I don't remember where the top is.  I did reach over a Billion on one map for PNW but may have reached it with math and not a trigger value. You can multiply one variable by another.

Would be interesting to know; But, I'm not sure how I would use it.

Link to comment
Share on other sites

I am planning to implement the corporate income tax and personal inheritance tax in the US. I'll "event" a few of the major rate changes.

My difficulty is that I can't assign a trigger result to company (or personal) cash. My work-around is to have one annual event calculate the tax owed and assign it to a company or player variable. A subsequent event can deduct fixed amounts from cash and tax-due until tax-due is less than threshold. The subsequent event can be annual also, but I can make it spin by arbitrarily "checking against territories" to make it loop 31 times.

If the range of legal values is tightly constrained, then I can truncate tax-due to millions. However, a highly profitable company could still possibly owe more than 100 of those millions... If that's a problem, then I'll just have to implement more and more progressive-era events until it's not possible to be highly profitable in that time period (in which corporate income taxes are significant)

  ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...