Morrowind Mod:OnActivate

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


OnActivate

                OnActivate

        Type:   Object

     Returns:   short

     Example:   if ( OnActivate == 1 )
                        Activate
                endif

     Scripts:   Alen_note
                BarDoor

Returns 1 if calling object is activated, or 0 otherwise. An object is activated when you approach it in the game and press the spacebar (by default).