Auto Update

Hello all. I have a main map used by the player with cities scattered. Two questions.

1) I there a way to enable pinch and zoom
2) there are values that will update for the global economy after the timer expires or the next day button is pressed. Unfortunately, the values only update when I go into a city rather than auto updating and being able to remain on the map. It'd be a disaster if the player would have to go into each city's scene for the values to update.

Comments

  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    Here's a template that should do what you need for the pinch and zoom.


    Could you give us some more info on the second one? It sounds like just a rules mixup.

    Good luck,
    - Thomas
  • I have an attribute that counts the seconds and when it gets to every 10th interval, it advances the day. The same process can be completed by clicking on a "next" button. These functions both work fine. The problem is that while I remain on the world map, things like income and expenses do not change when variables affect them unless I enter an affected city's scene. Here is an example...

    If the world bank is ever less than 0, all science facilities in each city are supposed to be closed automatically, which should then adjust the player's current expenses. If I enter into a city's scene, the change takes effect and if I view the income/expenses on the world map afterwards, they are adjusted. If, however, I just remain viewing the world map and never enter a city scene, the expenses remain unchanged.

    Does that help?
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    Do you have a rule somewhere that requires the user to be inside of a city for it to activate? Or is it in a separate gamesalad scene? If it is in a separate scene, just copy the rules that work in the scene to an actor in all of the scenes involved.

    I hope that helps,
    - Thomas
Sign In or Register to comment.