The setOupostMode native AI script function puts the current NPC group on one side of the conflict of an outpost: the group fights for the owner or for the attacker of that outpost.
The function
setOupostModereally does have the typo in it. There is nosetOutpostModefunction.
()setOupostMode(alias: s, side: s); // setOupostMode_ss_
"(A:<static part>:<dynamic part>)". This is the form in which aliases are displayed by the services and by the World Editor."owner" or "attacker".()setOupostMode("(A:1040:25)", "owner");
This puts the current NPC group on the side of the owner of the outpost whose alias is (A:1040:25).
outpost:<alias>:bot_defender and is a friend of it; its enemies are outpost:<alias>:bot_attacker (the bots of the other side) and outpost:<alias>:attacker (the players who attack the outpost).outpost:<alias>:bot_attacker and is a friend of it; its enemies are outpost:<alias>:bot_defender and outpost:<alias>:defender (the players who defend the outpost)."owner" or "attacker", or an alias that is not an alias string, is refused with a warning in the log of the AI service, and nothing is changed.Source: ryzom/server/src/ai_service/nf_grp_npc.cpp (setOupostMode_ss_), ryzom/server/src/ai_service/ai_grp_npc.cpp (CGroupNpc::setOutpostFactions)