set_oupost_mode - ryzom/ryzomcore GitHub Wiki
title: Set Oupost Mode description: published: true date: 2023-03-16T23:11:13.888Z tags: editor: markdown dateCreated: 2023-03-16T22:28:57.759Z
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}
()setOutpostMode(side: s, alias: s); // setOupostMode_ss_
-
side (string): The side of the outpost, which can be
"attacker"
or"owner"
. - alias (string): The alias of the outpost.
()setOutpostMode("owner", "FO01");
This code sets the outpost side of the current NPC group to "owner"
and the alias to "FO01"
.
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.