Home   Help Search Login Register  

Author Topic: Light  (Read 436 times)

0 Members and 1 Guest are viewing this topic.

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Light
« on: 10 Aug 2003, 10:23:27 »
is there a script for when the time reaches a certain point e.g 6p.m fires that i specify automatically turn on? and then when reaches another time e.g 6am they turn themselves off

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Light
« Reply #1 on: 10 Aug 2003, 12:40:41 »
Bah... scripts? Scripts are for pussies ;D ;D

Trigger

Radius: 0,0
Condition: None (Repeatedly)
Condition Field: (daytime < 18) and (daytime > 6)
OnActivation Field: "_x inflame false" foreach [ fire1, fire2, fire3... ]
OnDeactivation Field: "_x inflame true" foreach [ fire1, fire2, fire3... ]

Just add all the names of your fires into the fire array ([ fire1, fire2, fire3... etc ]) and you should be away laughing ;)

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:Light
« Reply #2 on: 10 Aug 2003, 17:34:51 »
thanks Sui :D :cheers: :thumbsup: