Difference between revisions of "OnActivate"

Jump to navigation Jump to search
166 bytes added ,  07:03, 20 December 2007
no edit summary
imported>Haama
(though you can have an inventory onActivate)
imported>Isatin
Line 21: Line 21:
*Selecting an item in inventory will ''equip'' it (except for enchanted scrolls) and run onEquip blocks instead of the onActivate block.
*Selecting an item in inventory will ''equip'' it (except for enchanted scrolls) and run onEquip blocks instead of the onActivate block.
**However, you can make an item run it's own onActivate block in the inventory menu (MenuMode 1008, MenuMode, onEquip, etc.) with '''''Activate player, 1'''''.
**However, you can make an item run it's own onActivate block in the inventory menu (MenuMode 1008, MenuMode, onEquip, etc.) with '''''Activate player, 1'''''.
*If you create an object and activate it in the same frame, its OnActivate block may not run. See [[PlaceAtMe#Usage_in_same_frame_as_creation|PlaceAtMe]] more info.


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

Navigation menu