Morrowind Mod:GetColliding

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


GetCollidingActor
GetCollidingPC

                GetCollidingActor
                GetCollidingPC

        Type:   Collison, Tribunal

     Returns:   short

     Example:   if ( GetCollidingPC == 1 )
                if ( GetCollidingActor == 1 )
                
     Scripts:   explosion_pushout
                ExitBlockMessage

GetCollidingPC returns 1 if the player is colliding with it. Similarly, GetCollidingActor returns 1 if an actor (other than the PC) is colliding with it. The functions return 0 otherwise.

These are new functions introduced in the Tribunal expansion.