Difference between revisions of "OnActivate"

Jump to navigation Jump to search
103 bytes added ,  17:18, 23 September 2007
no edit summary
imported>Haama
(Separated notes on ActionRef)
imported>Elim Garak
Line 18: Line 18:


*Locked doors, containers and books are activated a second time automatically when you open the lock or take the book. To find out when a door was unlocked, for example, you can wait for '''[[GetLocked]] == 0''' in the OnActivate-block.
*Locked doors, containers and books are activated a second time automatically when you open the lock or take the book. To find out when a door was unlocked, for example, you can wait for '''[[GetLocked]] == 0''' in the OnActivate-block.
*Reading a Book in the world will fire OnActivate, but reading it in the inventory will fire OnEquip.


==See Also==  
==See Also==  
Anonymous user

Navigation menu