FutureProg functions
isterritory
Overload 1
isterritory overload 1
Boolean isterritory(Character character, Location location)
Available in
- computer function
- computer program
- standard futureprog
Checks whether a room is in a character's Territory effect and, when flags are supplied, whether all supplied flags are present. Errors if the character or room is null; returns false if the character has no territory effect or any flag is missing.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose Territory effect should be checked. |
location |
Location |
The room to test against the character's territory. |
Overload 2
isterritory overload 2
Boolean isterritory(Character character, Location location, Text flag1)
Available in
- computer function
- computer program
- standard futureprog
Checks whether a room is in a character's Territory effect and, when flags are supplied, whether all supplied flags are present. Errors if the character or room is null; returns false if the character has no territory effect or any flag is missing.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose Territory effect should be checked. |
location |
Location |
The room to test against the character's territory. |
flag1 |
Text |
A text tag that must be present on this territory room. |
Overload 3
isterritory overload 3
Boolean isterritory(Character character, Location location, Text flag1, Text flag2)
Available in
- computer function
- computer program
- standard futureprog
Checks whether a room is in a character's Territory effect and, when flags are supplied, whether all supplied flags are present. Errors if the character or room is null; returns false if the character has no territory effect or any flag is missing.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose Territory effect should be checked. |
location |
Location |
The room to test against the character's territory. |
flag1 |
Text |
A text tag that must be present on this territory room. |
flag2 |
Text |
A second text tag that must be present on this territory room. |
Overload 4
isterritory overload 4
Boolean isterritory(Character character, Location location, Text flag1, Text flag2, Text flag3)
Available in
- computer function
- computer program
- standard futureprog
Checks whether a room is in a character's Territory effect and, when flags are supplied, whether all supplied flags are present. Errors if the character or room is null; returns false if the character has no territory effect or any flag is missing.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose Territory effect should be checked. |
location |
Location |
The room to test against the character's territory. |
flag1 |
Text |
A text tag that must be present on this territory room. |
flag2 |
Text |
A second text tag that must be present on this territory room. |
flag3 |
Text |
A third text tag that must be present on this territory room. |