IgnoreTileObstructions

From Spheriki

Jump to: navigation, search

Allows you to set whether 'person' should ignore tile obstructions.


Usage

void IgnoreTileObstructions(person, ignore);
  • person name of a player or entity on the current map.
  • ignore boolean value.


Examples

IgnoreTileObstructions('billy', true);

This will make the entity 'billy' ignore the tile obstructions on the current map.

if(IsIgnoringTileObstructions('billy')) {
    IgnoreTileObstructions('billy', false);
}

This code checks to see whether billy is ignoring tile obstructions and if he is then it sets him to no longer ignore tile obstructions.

See also

Personal tools