Date dependent fun condition

Any information about the fun attribute is given here.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3636
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

Platform

Re: Date dependent fun condition

#21

Post by Lobby »

Date condition works on the absolute date, so that's not suited here.

I recommend to use the current frame of your building instead as some sort of a counter. You can increase it on a daily basis and when it reaches a specific value you can execute the replacement action.
=^._.^= ∫

User avatar
Kulche
Pluche
Reactions:
Posts: 955
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Date dependent fun condition

#22

Post by Kulche »

Wait, how can action be executed at random day of the year? :calc
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
Kiki012
Inhabitant of a Megacity
Reactions:
Posts: 247
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Date dependent fun condition

#23

Post by Kiki012 »

I want add sound fun for nature+ Plugin,it depends on time,such as at day it plays daytime sound when is night it play nighttime sounds, please provide me with code samples
Testing plugin on version
My Plug-in
Show
Random Text that i found on Age of Civilization 2 game
For The Mother Russia

Post Reply Previous topicNext topic

Return to “Fun attribute”