chrik87 Posted June 25, 2013 Share Posted June 25, 2013 So I just started messing about with CK this weekend and am submerging myself in the sea of pain that is scripting today, and for the life of me I can't get the simplest things to work...RegisterForUpdate() and GetValue() / SetValue() I'm sure its just something stupid I'm doing but if anyone had the time to point out my mistakes then I might actually get to sleep tonight! Event OnEffectStart(Actor akTarget, Actor akCaster) Chk() EndEvent Function Chk() RegisterForUpdate(5.0) Debug.MessageBox("Called") EndFunction Event OnUpdate() Debug.MessageBox("Update") EndEvent The function is being called as the message pops up saying "Called" but the update doesn't seem to register. Link to comment Share on other sites More sharing options...
Recommended Posts