Author |
|
krommetje Super User
Joined: December 29 2004 Location: Netherlands
Online Status: Offline Posts: 695
|
Posted: January 15 2015 at 07:54 | IP Logged
|
|
|
Hi all,
tell me if this will work:
I make a GV named holiday which I set to 0 if there is a schoolholiday, I set the GV to 1 if there is no schoolholiday.
Then I put in the boolaenfield of a timed event:
ph_getglobal_n("holiday")....
If the global is 0 the event will not fire, when 1 the event will fire...
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: January 15 2015 at 21:05 | IP Logged
|
|
|
Peter,
Yes, this will work. Only thing you'd want to do is capitalize the global so it looks like "HOLIDAY".
Dave.
|
Back to Top |
|
|
krommetje Super User
Joined: December 29 2004 Location: Netherlands
Online Status: Offline Posts: 695
|
Posted: January 15 2015 at 22:45 | IP Logged
|
|
|
Yes of course I have to capitalize... Thanks.
Now I am going ahead to further enhance this
Thanks Dave
|
Back to Top |
|
|