<?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=GetScheme</id>
	<title>GetScheme - 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=GetScheme"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=GetScheme&amp;action=history"/>
	<updated>2026-05-26T03:54:51Z</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=GetScheme&amp;diff=753&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;GetScheme&lt;/code&gt; Method in Actor Class ==  === Overview === The &lt;code&gt;GetScheme&lt;/code&gt; method is designed to retrieve an active scheme targeting a specific actor, if such a scheme exists. This function is key in games where monitoring and responding to ongoing schemes is crucial to gameplay and character strategy.  === Syntax === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public Scheme GetScheme(string schemeNameOrId, Actor target) &lt;/syntaxhighlight&gt;  === Parameters ===  * sch...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=GetScheme&amp;diff=753&amp;oldid=prev"/>
		<updated>2023-12-24T11:37:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;GetScheme&amp;lt;/code&amp;gt; Method in Actor Class ==  === Overview === The &amp;lt;code&amp;gt;GetScheme&amp;lt;/code&amp;gt; method is designed to retrieve an active scheme targeting a specific actor, if such a scheme exists. This function is key in games where monitoring and responding to ongoing schemes is crucial to gameplay and character strategy.  === Syntax === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public Scheme GetScheme(string schemeNameOrId, Actor target) &amp;lt;/syntaxhighlight&amp;gt;  === Parameters ===  * sch...&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;GetScheme&amp;lt;/code&amp;gt; Method in Actor Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;GetScheme&amp;lt;/code&amp;gt; method is designed to retrieve an active scheme targeting a specific actor, if such a scheme exists. This function is key in games where monitoring and responding to ongoing schemes is crucial to gameplay and character strategy.&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 Scheme GetScheme(string schemeNameOrId, Actor target)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
* schemeNameOrId (string): The name or ID of the scheme to retrieve.&lt;br /&gt;
* target (Actor): The actor who is the target of the scheme.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
This method searches for and retrieves a scheme that is currently active against a specified target actor. It returns the &amp;lt;code&amp;gt;Scheme&amp;lt;/code&amp;gt; object if the scheme is found and active; otherwise, it returns null. This functionality allows characters or the game system to track and respond to specific schemes and maneuvers within the game.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
Used to identify and interact with schemes that are currently active against particular targets, enabling strategic responses or adjustments in gameplay.&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 Actor playerCharacter; // An instance of an actor&lt;br /&gt;
public Actor rival; // The target actor of the scheme&lt;br /&gt;
string schemeId = &amp;quot;Sabotage&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
Scheme activeScheme = playerCharacter.GetScheme(schemeId, rival);&lt;br /&gt;
if (activeScheme != null) {&lt;br /&gt;
    // Logic to respond to the active 'Sabotage' scheme against the rival&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;In this example, a player character retrieves an active 'Sabotage' scheme against a rival. If the scheme exists, the player can then take appropriate actions or make strategic decisions in response to this information.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;GetScheme&amp;lt;/code&amp;gt; method is particularly important in strategy games or complex narratives where understanding and countering opponents' schemes is a part of gameplay.&lt;br /&gt;
* This method enhances the depth of strategic gameplay by providing players with the ability to detect and react to schemes.&lt;br /&gt;
* The method's ability to return null if no active scheme is found against the target helps in conditional logic and decision-making processes within the game.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>