IsIgnoringTileObstructions
From Spheriki
Checks whether a person or entity is ignoring tile obstructions.
Usage
- person the name of the person or entity to check.
Examples
if( IsIgnoringTileObstructions('hero') ){
IgnoreTileObstructions('hero', false);
}
This code will check whether a player named "hero" is ignoring tile obstructions and if he is then it will set him to stop ignoring tile obstructions.