<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Osiris%2FAPI%2FUserSetFlag</id>
	<title>Osiris/API/UserSetFlag - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Osiris%2FAPI%2FUserSetFlag"/>
	<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/UserSetFlag&amp;action=history"/>
	<updated>2026-05-13T01:04:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://docs.larian.game/index.php?title=Osiris/API/UserSetFlag&amp;diff=6663&amp;oldid=prev</id>
		<title>Tinkerer: Documented UserSetFlag</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/UserSetFlag&amp;diff=6663&amp;oldid=prev"/>
		<updated>2019-07-18T20:51:41Z</updated>

		<summary type="html">&lt;p&gt;Documented UserSetFlag&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===== Full Definition(s) =====&lt;br /&gt;
* call '''UserSetFlag'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Flag''', ''(INTEGER)'''''_DialogInstance''')&lt;br /&gt;
===== Description =====&lt;br /&gt;
Sets the flag '''_Flag''' on '''_Character''' and on every other character controlled by the same [[Osiris/API/CharacterGetReservedUserID|user]]. The '''_DialogInstance''' parameter can be examined when catching the corresponding [[Osiris/API/ObjectFlagSet|ObjectFlagSet]] event, but is otherwise unused.&lt;br /&gt;
===== Notes =====&lt;br /&gt;
* This call is equivalent to setting '''_Flag''' as an object flag on every character controlled by the same [[Osiris/API/CharacterGetReservedUserID|user]] as '''_Character''', including the triggering of [[Osiris/API/ObjectFlagSet|ObjectFlagSet]] events.&lt;br /&gt;
* Unlike [[Osiris/API/PartySetFlag|PartySetFlag]] and unlike [[Osiris/API/UserGetFlag|UserGetFlag]], this call also works if '''_Character''' is an NPC (in which case it will set the flag only on that character).&lt;br /&gt;
===== See Also =====&lt;br /&gt;
* [[Osiris/API/GlobalSetFlag|GlobalSetFlag]]&lt;br /&gt;
* [[Osiris/API/ObjectSetFlag|ObjectSetFlag]]&lt;br /&gt;
* [[Osiris/API/PartySetFlag|PartySetFlag]]&lt;br /&gt;
* [[Osiris/API/UserClearFlag|UserClearFlag]]&lt;br /&gt;
* [[Osiris/API/UserGetFlag|UserGetFlag]]&lt;br /&gt;
 &lt;br /&gt;
[[Category:Osiris Calls|UserSetFlag]]&lt;/div&gt;</summary>
		<author><name>Tinkerer</name></author>
	</entry>
</feed>