Community Forum

Animated Objects Opening Hours

Forum Overview >> Farming Simulator 22

CategoryFarming Simulator 22
Created12.05.2022 22:08


Hungrycowdesign (HungryCow212) 12.05.2022 22:08
I'm trying to animate store doors on my map and disable them during closed hours. My door animation is setup as follows:

<animation duration="3">
<part node="0">
<keyFrame time="0" rotation="0 0 0" />
<keyFrame time="1" rotation="0 -100 0" />
</part>
</animation>
<controls triggerNode="1" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
<openingHours startTime="7" endTime="19" disableIfClosed="true" closedText="The store hours are 7AM to 7PM." />

From what I understand, this should disable the trigger during closed hours and display the text. However, I can still open/close the door at any time and the text is always displayed regardless of the hour. The door does open and close automatically at the specified times.

Am I misunderstanding how the disableIfClosed and closedText attributes work or have I set something up wrong?

Brummie Farmer (BrummieFarmer) 26.05.2022 13:17
what you need to do is delete/comment out <controls triggerNode="1" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" /> and that should work

Hungrycowdesign (HungryCow212) 31.05.2022 02:58
You've misunderstood my goal. I still want to be able to use the trigger during open hours. I don't want it to work otherwise.


Note: Log in to post. Create a new account here.