<?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%2FCharacterTransform</id>
	<title>Osiris/API/CharacterTransform - 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%2FCharacterTransform"/>
	<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/CharacterTransform&amp;action=history"/>
	<updated>2026-04-17T20:11:45Z</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/CharacterTransform&amp;diff=6595&amp;oldid=prev</id>
		<title>Tinkerer at 17:58, 14 May 2019</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/CharacterTransform&amp;diff=6595&amp;oldid=prev"/>
		<updated>2019-05-14T17:58:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:58, 14 May 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''_ReplaceSkills''': indicates whether the assigned skills should be replaced. This should only be enabled if '''_Character''' is an NPC.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''_ReplaceSkills''': indicates whether the assigned skills should be replaced. This should only be enabled if '''_Character''' is an NPC.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''_UseCustomLooks''': if true, keeps the custom looks of the original character (its visual set indices, or its appearance as selected in character creation).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''_UseCustomLooks''': if true, keeps the custom looks of the original character (its visual set indices, or its appearance as selected in character creation).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''_ReleasePlayerData''': Once a character has been [[Osiris/API/CharaacterMakePlayer|made a player]] once, a bunch of extra data gets recorded for them. For example, they have individual equipment slots rather than an equipment set, they can have unspent attribute points when levelling up, custom visuals selected in character creation/magic mirror, etc. This extra data is kept even when a character is [[Osiris/API/CharacterMakeNPC|turned into an NPC] again, to ensure it doesn't get lost between dismissing and re-recruiting a companion. If you pass '''1''' here, this data will be removed (check NPC/player).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''_ReleasePlayerData''': Once a character has been [[Osiris/API/CharaacterMakePlayer|made a player]] once, a bunch of extra data gets recorded for them. For example, they have individual equipment slots rather than an equipment set, they can have unspent attribute points when levelling up, custom visuals selected in character creation/magic mirror, etc. This extra data is kept even when a character is [[Osiris/API/CharacterMakeNPC|turned into an NPC&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;] again, to ensure it doesn't get lost between dismissing and re-recruiting a companion. If you pass '''1''' here, this data will be removed (check NPC/player).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Notes =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Notes =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tinkerer</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=Osiris/API/CharacterTransform&amp;diff=6594&amp;oldid=prev</id>
		<title>Tinkerer at 10:25, 14 May 2019</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/CharacterTransform&amp;diff=6594&amp;oldid=prev"/>
		<updated>2019-05-14T10:25:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:25, 14 May 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* call '''CharacterTransform'''(''((CHARACTERGUID)'''''_Character''', ''(STRING)'''''_ObjectTemplate''', ''(INTEGER)'''''_ReplaceScripts''', ''(INTEGER)'''''_ReplaceScale''', ''(INTEGER)'''''_ReplaceStats''', ''(INTEGER)'''''_ReplaceEquipment''', ''(INTEGER)'''''_ReplaceSkills''', ''(INTEGER)'''''_UseCustomLooks''', ''(INTEGER)'''''_ReleasePlayerData''')&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* call '''CharacterTransform'''(''((CHARACTERGUID)'''''_Character''', ''(STRING)'''''_ObjectTemplate''', ''(INTEGER)'''''_ReplaceScripts''', ''(INTEGER)'''''_ReplaceScale''', ''(INTEGER)'''''_ReplaceStats''', ''(INTEGER)'''''_ReplaceEquipment''', ''(INTEGER)'''''_ReplaceSkills''', ''(INTEGER)'''''_UseCustomLooks''', ''(INTEGER)'''''_ReleasePlayerData''')&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Description =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Description =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Transforms '''_Character''' into the root template '''_ObjectTemplate'''. In particular, a.o. the visual and physics resources will be replaced&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, as well as the VisualSetIndices for a character&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Transforms '''_Character''' into the root template '''_ObjectTemplate'''. In particular, a.o. the visual and physics resources will be replaced.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Other parameters allow you to customise whether certain properties of '''_Object''' should be replaced by the values of the corresponding properties on '''_ObjectTemplate''':&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Other parameters allow you to customise whether certain properties of '''_Object''' should be replaced by the values of the corresponding properties on '''_ObjectTemplate''':&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tinkerer</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=Osiris/API/CharacterTransform&amp;diff=6593&amp;oldid=prev</id>
		<title>Tinkerer: Documented CharacterTransform</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/CharacterTransform&amp;diff=6593&amp;oldid=prev"/>
		<updated>2019-05-14T10:17:21Z</updated>

		<summary type="html">&lt;p&gt;Documented CharacterTransform&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 '''CharacterTransform'''(''((CHARACTERGUID)'''''_Character''', ''(STRING)'''''_ObjectTemplate''', ''(INTEGER)'''''_ReplaceScripts''', ''(INTEGER)'''''_ReplaceScale''', ''(INTEGER)'''''_ReplaceStats''', ''(INTEGER)'''''_ReplaceEquipment''', ''(INTEGER)'''''_ReplaceSkills''', ''(INTEGER)'''''_UseCustomLooks''', ''(INTEGER)'''''_ReleasePlayerData''')&lt;br /&gt;
===== Description =====&lt;br /&gt;
Transforms '''_Character''' into the root template '''_ObjectTemplate'''. In particular, a.o. the visual and physics resources will be replaced, as well as the VisualSetIndices for a character.&lt;br /&gt;
&lt;br /&gt;
Other parameters allow you to customise whether certain properties of '''_Object''' should be replaced by the values of the corresponding properties on '''_ObjectTemplate''':&lt;br /&gt;
* '''_ReplaceScripts''': indicates whether the assigned behaviour scripts should be replaced.&lt;br /&gt;
* '''_ReplaceScale''': indicates whether the current scale of the object should be replaced.&lt;br /&gt;
* '''_ReplaceStats''': indicates whether the Stats should be replaced.&lt;br /&gt;
* '''_ReplaceEquipment''': indicates whether the equipment set should be replaced. This should only be enabled if '''_Character''' is an NPC.&lt;br /&gt;
* '''_ReplaceSkills''': indicates whether the assigned skills should be replaced. This should only be enabled if '''_Character''' is an NPC.&lt;br /&gt;
* '''_UseCustomLooks''': if true, keeps the custom looks of the original character (its visual set indices, or its appearance as selected in character creation).&lt;br /&gt;
* '''_ReleasePlayerData''': Once a character has been [[Osiris/API/CharaacterMakePlayer|made a player]] once, a bunch of extra data gets recorded for them. For example, they have individual equipment slots rather than an equipment set, they can have unspent attribute points when levelling up, custom visuals selected in character creation/magic mirror, etc. This extra data is kept even when a character is [[Osiris/API/CharacterMakeNPC|turned into an NPC] again, to ensure it doesn't get lost between dismissing and re-recruiting a companion. If you pass '''1''' here, this data will be removed (check NPC/player).&lt;br /&gt;
&lt;br /&gt;
===== Notes =====&lt;br /&gt;
* Transforming an object more than once is not supported. It may (seem to) work, but the result is undefined.&lt;br /&gt;
* Transforming an object will remove the tags that it got from its original root template, and add the tags from the new root template. Tags [[Osiris/API/SetTag|set by script]] or from dialogs are unaffected.&lt;br /&gt;
* This will not change the voice of the character. See [[Osiris/API/CharacterTransformAppearanceTo|CharacterTransformAppearanceTo]] for a way to do this.&lt;br /&gt;
===== See Also =====&lt;br /&gt;
* [[Osiris/API/CharacterTransformAppearanceTo|CharacterTransformAppearanceTo]]&lt;br /&gt;
* [[Osiris/API/CharacterTransformAppearanceToWithEquipmentSet|CharacterTransformAppearanceToWithEquipmentSet]]&lt;br /&gt;
* [[Osiris/API/SetTag|SetTag]]&lt;br /&gt;
* [[Osiris/API/Transform|Transform]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Osiris Calls|CharacterTransform]]&lt;/div&gt;</summary>
		<author><name>Tinkerer</name></author>
	</entry>
</feed>