<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=SetConspirator</id>
	<title>SetConspirator - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=SetConspirator"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=SetConspirator&amp;action=history"/>
	<updated>2026-05-12T22:58:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=SetConspirator&amp;diff=1161&amp;oldid=prev</id>
		<title>Tayfunwiki at 23:00, 9 February 2024</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=SetConspirator&amp;diff=1161&amp;oldid=prev"/>
		<updated>2024-02-09T23:00: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 19:00, 9 February 2024&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-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&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;         Scheme schemeToUpdate = IM.Player.GetScheme(schemeName);&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;         Scheme schemeToUpdate = IM.Player.GetScheme(schemeName);&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;         if (schemeToUpdate != null) {&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;         if (schemeToUpdate != null) {&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;             schemeToUpdate.SetConspirator(newConspirator);&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;             schemeToUpdate&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.Schemer&lt;/ins&gt;.SetConspirator(newConspirator);&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;             Debug.Log($&amp;quot;Updated conspirator of scheme '{schemeName}' to: {newConspirator.Name}&amp;quot;);&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;             Debug.Log($&amp;quot;Updated conspirator of scheme '{schemeName}' to: {newConspirator.Name}&amp;quot;);&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;         } else {&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;         } else {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=SetConspirator&amp;diff=909&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;SetConspirator&lt;/code&gt; Method in Scheme Class ==  === Overview === The &lt;code&gt;SetConspirator&lt;/code&gt; method in the Scheme class is used to assign a new conspirator to a scheme. This method allows for dynamic changes in the actor responsible for initiating or driving the scheme.  === Syntax === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public void SetConspirator(Actor actor) &lt;/syntaxhighlight&gt;  === Parameters ===  * &lt;code&gt;actor&lt;/code&gt;: An &lt;code&gt;Actor&lt;/code&gt; object representing th...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=SetConspirator&amp;diff=909&amp;oldid=prev"/>
		<updated>2024-01-04T23:56:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;SetConspirator&amp;lt;/code&amp;gt; Method in Scheme Class ==  === Overview === The &amp;lt;code&amp;gt;SetConspirator&amp;lt;/code&amp;gt; method in the Scheme class is used to assign a new conspirator to a scheme. This method allows for dynamic changes in the actor responsible for initiating or driving the scheme.  === Syntax === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public void SetConspirator(Actor actor) &amp;lt;/syntaxhighlight&amp;gt;  === Parameters ===  * &amp;lt;code&amp;gt;actor&amp;lt;/code&amp;gt;: An &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; object representing th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== &amp;lt;code&amp;gt;SetConspirator&amp;lt;/code&amp;gt; Method in Scheme Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;SetConspirator&amp;lt;/code&amp;gt; method in the Scheme class is used to assign a new conspirator to a scheme. This method allows for dynamic changes in the actor responsible for initiating or driving the scheme.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public void SetConspirator(Actor actor)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;actor&amp;lt;/code&amp;gt;: An &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; object representing the new conspirator of the scheme.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* This method updates the conspirator of a scheme, changing the primary actor responsible for its initiation and execution.&lt;br /&gt;
* It's essential for game scenarios where the original conspirator changes due to gameplay events, narrative developments, or player actions.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
The &amp;lt;code&amp;gt;SetConspirator&amp;lt;/code&amp;gt; method is typically used in game logic where there is a need to transfer the responsibility of a scheme from one actor to another. This can be due to various reasons, such as the original conspirator being incapacitated or a shift in the storyline.&lt;br /&gt;
&lt;br /&gt;
=== Example of Usage ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public class SchemeConspiratorUpdater : MonoBehaviour {&lt;br /&gt;
    void UpdateSchemeConspirator(string schemeName, Actor newConspirator) {&lt;br /&gt;
        Scheme schemeToUpdate = IM.Player.GetScheme(schemeName);&lt;br /&gt;
        if (schemeToUpdate != null) {&lt;br /&gt;
            schemeToUpdate.SetConspirator(newConspirator);&lt;br /&gt;
            Debug.Log($&amp;quot;Updated conspirator of scheme '{schemeName}' to: {newConspirator.Name}&amp;quot;);&lt;br /&gt;
        } else {&lt;br /&gt;
            Debug.Log($&amp;quot;Scheme not found: {schemeName}&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
* In this example, the &amp;lt;code&amp;gt;UpdateSchemeConspirator&amp;lt;/code&amp;gt; method is used to set a new conspirator for a specified scheme. It finds the scheme using &amp;lt;code&amp;gt;IM.Player.GetScheme&amp;lt;/code&amp;gt; and updates its conspirator.&lt;br /&gt;
* The method logs a message indicating whether the conspirator was successfully updated or if the scheme was not found.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* Changing the conspirator of a scheme can significantly impact the game's narrative and player strategy, making this method a powerful tool in dynamic storytelling and gameplay.&lt;br /&gt;
* Proper handling of conspirator changes is crucial to maintaining narrative continuity and logical consistency within the game.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>