The isOutpostGuildOwner native AI script function checks if the current outpost owner is a guild (group must be in an outpost NPC manager). It returns 1 if the current outpost owner is a guild, 0 otherwise.
(guildOwner)isOutpostGuildOwner();
```c
## Return value
* guildOwner _(float)_: Returns 1 if the current outpost owner is a guild, 0 otherwise.
## Examples
```c
(guildOwner)isOutpostGuildOwner();
if (guildOwner == 1.0f) {
debug("The current outpost owner is a guild!");
}
This example code calls the isOutpostGuildOwner function and stores the result in the guildOwner
variable. If the current outpost owner is a guild, it prints a debug message.
This function is used to determine if the current outpost owner is a guild or not. If the owner is not a guild, it is assumed to be a tribe.
The isOutpostTribeOwner
function can be used to determine if the current outpost owner is a tribe.