... Also, does anybody know how I can isolate visits to a particular building for scripting? Say, for example, that before I poison the slob tourist, I want to include only people who have been to the pub -- or even in general, like say to get a score based on how many pub visits I have had? ...
... Still wish there was a way to check how many visits there were. Figured out a workaround on that too, but it means I can only charge a set amount for the price (say, for example, $1 and then count *GSrevenue). This, however forces more issues of how to enforce that to other players, which can't be done in scripting. ...
I really can't follow that because there is no script code
" *GSrevenue " because all the Game Statistic script codes having to do with
revenue do not use that format.
... you should be able to count BldgYtdRevenue and divide by BldgRent to find out how many people are visiting -- but there isn't any way to tell who was the visitor.
I don't think that will work because BldgRent will (should) work only on buildings which use
RENT which is not the same as
FEES. I deduce this from the word pattern of the script codes.
I do not believe the script can derive the number of visits. For one thing, visits may last long enough to trip two monthly charges.
The scriptor may not micromanage to the visit level. He has to rethink to the macro-level of revenue or profit.