Difference between revisions of "Talk:OnUpdate - Form"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Oss133
(Created page with "I have attached a script to a weapon that says somthing like this, Event OnEquipped() RegisterForUpdate(5) Debug.Notification("Registered") EndEvent Event OnUpdate() Debug.N...")
 
imported>Oss133
Line 1: Line 1:
I have attached a script to a weapon that says somthing like this,
I have attached a script to a weapon that says somthing like this,


Event OnEquipped()
Event OnEquipped()
RegisterForUpdate(5)
RegisterForUpdate(5)
Debug.Notification("Registered")
Debug.Notification("Registered")
EndEvent
EndEvent


Event OnUpdate()
Event OnUpdate()
Debug.Notification("Updating")
Debug.Notification("Updating")
EndEvent
EndEvent



Revision as of 08:48, 6 March 2012

I have attached a script to a weapon that says somthing like this,


Event OnEquipped()

RegisterForUpdate(5)

Debug.Notification("Registered")

EndEvent

Event OnUpdate()

Debug.Notification("Updating")

EndEvent

When I Equip the Weapon I get the "Registered" message but i never get the "Updating" message.

Anyone have any idea why?

Oss133