set_oupost_mode - ryzom/ryzomcore GitHub Wiki


title: Set Oupost Mode description: published: true date: 2023-03-14T03:48:58.751Z tags: editor: markdown dateCreated: 2023-03-14T03:48:58.751Z

setOupostMode

The setOutpostMode function is used to set the side of the outpost that the NPC group belongs to.

This document has been autogenerated and still needs to be reviewed and edited {.is-danger}

The function setOupostMode really does have the typo in it {.is-danger}

Syntax

()setOutpostMode(side: s, alias: s); // setOupostMode_ss_

Arguments

  • side (string): The side of the outpost, which can be "attacker" or "owner".
  • alias (string): The alias of the outpost.

Example

    ()setOutpostMode("owner", "FO01");

This code sets the outpost side of the current NPC group to "owner" and the alias to "FO01".

Notes

This function is used to set the side and alias of the outpost that the NPC group belongs to. The side can be either "attacker" or "owner". The alias is a unique identifier for the outpost.

This function can only be used with NPC groups.

⚠️ **GitHub.com Fallback** ⚠️