Difference between revisions of "OnActivate"
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 | *Reading a Book in the world will fire OnActivate, but reading it in the inventory will not. | ||
==See Also== | ==See Also== |