FANDOM


function GetEnteringObject ()

  • The value returned by this function depends on the object type of the caller:
  1. If the caller is a door it returns the object that last triggered it.
  2. If the caller is a trigger, area of effect, module, area or encounter it returns the object that last entered it.
  • Return value on error: OBJECT_INVALID When used for doors, this should only be called from the OnAreaTransitionClick event. Otherwise, it should only be called in OnEnter scripts.
  • Return type: object
  • Include file: nwscriptdefn

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.