Difference between revisions of "OnActivate"

Jump to navigation Jump to search
9 bytes removed ,  17:33, 23 September 2007
no edit summary
imported>Elim Garak
imported>Elim Garak
Line 19: Line 19:
*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.
*Reading a Book in the world will fire OnActivate, but reading it in the inventory will not.


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

Navigation menu