GetEntrance
Category:
Objects
Since engine version:
5.1 OC
Description
Returns the current entrance status of an object.
true
if entering the object is currently allowed or
false
if it is disallowed.
Syntax
bool
GetEntrance();
Example
if
(
Contained
())
if
(!
Contained
()->GetEntrance())
Kill
();
Extreme claustrophobia: if the entrance is blocked, commit suicide.
See also:
SetEntrance
wipfmetz, 2002-08