parent

If the entity was contained in a sublevel (map entity), this pointer points to the map entity; otherwise it's NULL. If it points to the current view.genius, the entity is suppressed in the view when the genius is also suppressed. Can also be used as a general purpose entity pointer like my or you.

Type:

ENTITY*

Example:

if (my.parent == you)
{ my.enable_trigger = off; }

See also:

map_subents