is there a (a CK own) condition, that "something is only true", when it is night or day (or a equal time o'clock)?
Bool Function IsDaylight(Float afTime) afTime = (Game.GetForm(0x00000038) As GlobalVariable).GetValue() ; GameHour If afTime > 6 ; 6am If afTime < 18 ; 6pm Return True Else Return False EndIf Else Return False EndIfEndFunction



Scriptname Example extends ObjectReferenceFormList Property Ingots AutoEvent OnReset() Disable() PlaceAtMe(Ingots.GetAt(Utility.RandomInt(0, Ingots.GetSize() - 1)))EndEvent
Scriptname Example extends ObjectReferenceFormList Property Ingots AutoEvent OnReset() Disable() PlaceAtMe(Ingots.GetAt(Utility.RandomInt(0, Ingots.GetSize() - 1)))EndEvent
FurnitureRef.MoveTo(PlayerRef, 100.0, 100.0, 10.0, 0.0)FurnitureRef.SetPosition(PlayerRef.GetPositionX() + 100.0, PlayerRef.GetPositionY() + 100.0, PlayerRef.GetPositionZ() + 10.0)
[05/21/2012 - 12:30:29PM] error: (030B53D6): cannot be moved.stack: [ (030B53D6)].ObjectReference.SetPosition() - "" Line ?[05/21/2012 - 12:30:29PM] error: (030B53D6): cannot be moved.stack: [ (030B53D6)].ObjectReference.MoveTo() - " " Line ?
Scriptname VoicePushEffectScript extends ActiveMagicEffect Event OnEffectStart(actor Target, actor Caster)Caster.PushActorAway(Target, PushForce)EndEventint Property PushForce Auto
Scriptname VoicePushEffectScript extends ActiveMagicEffectEvent OnEffectStart(actor Target, actor Caster)Caster.PushActorAway(Target, PushForce)EndEventint Property PushForce Auto
FurnitureRef.MoveTo(PlayerRef, 100.0, 100.0, 10.0, 0.0)FurnitureRef.SetPosition(PlayerRef.GetPositionX() + 100.0, PlayerRef.GetPositionY() + 100.0, PlayerRef.GetPositionZ() + 10.0)
[05/21/2012 - 12:30:29PM] error: (030B53D6): cannot be moved.stack:[ (030B53D6)].ObjectReference.SetPosition() - "" Line ?[05/21/2012 - 12:30:29PM] error: (030B53D6): cannot be moved.stack:[ (030B53D6)].ObjectReference.MoveTo() - " " Line ?