demidekidasu Posted December 19, 2012 Author Share Posted December 19, 2012 @mannygt: I only put the debug messages in to help me work out where the script is misbehaving. As I said, the script was quite large to begin with and when nothing was working, I started taking parts away and putting in debug messages to help me work out what the problem is. @acidzebra: Heh, no, I think context is the wrong word. I mean if I use the same script but change a few lines to things more appropriate for what I am using it on or want it to do. And no, not going through it like a bumbling idiot changing random stuff :P Link to comment Share on other sites More sharing options...
steve40 Posted December 28, 2012 Share Posted December 28, 2012 acidzebra is correct, you can't run updates on items in your inventory. The following script starts the updates via OnInit(). The update messages appear until the medallion is picked up and then they stop: Scriptname _medallion_test extends ObjectReference Event OnInit() RegisterForSingleUpdate(5.0) EndEvent Event OnEquipped(Actor akActor) RegisterForSingleUpdate(5.0) Debug.notification("Medallion equiped") EndEvent Event OnUpdate() RegisterForSingleUpdate(5.0) Debug.notification("Script update") EndEvent Link to comment Share on other sites More sharing options...
Recommended Posts