<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.setCharDecisionMaker</id>
	<title>natives.setCharDecisionMaker - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.setCharDecisionMaker"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.setCharDecisionMaker&amp;action=history"/>
	<updated>2026-04-29T01:50:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=natives.setCharDecisionMaker&amp;diff=11303&amp;oldid=prev</id>
		<title>ChrisGame20: Created page with &quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setCharDecisionMaker |parameters = int ped, int decisionMakerId |parameter1 = int ped The ped handle |parameter2 = int decisionMakerId The decision maker ID that defines the ped’s AI behavior |usage = Assigns a decision maker to a ped, which controls how the ped reacts to threats, combat, and ambient events. |notes = - Often combined with natives.createChar to spawn a ped - Typically used...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.setCharDecisionMaker&amp;diff=11303&amp;oldid=prev"/>
		<updated>2025-12-04T00:02:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setCharDecisionMaker |parameters = int ped, int decisionMakerId |parameter1 = int ped The ped handle |parameter2 = int decisionMakerId The decision maker ID that defines the ped’s AI behavior |usage = Assigns a decision maker to a ped, which controls how the ped reacts to threats, combat, and ambient events. |notes = - Often combined with &lt;a href=&quot;/natives.createChar&quot; title=&quot;natives.createChar&quot;&gt;natives.createChar&lt;/a&gt; to spawn a ped - Typically used...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptItem&lt;br /&gt;
|endpoint = client&lt;br /&gt;
|games = iv&lt;br /&gt;
|type = function&lt;br /&gt;
|name = natives.setCharDecisionMaker&lt;br /&gt;
|parameters = int ped, int decisionMakerId&lt;br /&gt;
|parameter1 = int ped The ped handle&lt;br /&gt;
|parameter2 = int decisionMakerId The decision maker ID that defines the ped’s AI behavior&lt;br /&gt;
|usage = Assigns a decision maker to a ped, which controls how the ped reacts to threats, combat, and ambient events.&lt;br /&gt;
|notes =&lt;br /&gt;
- Often combined with [[natives.createChar]] to spawn a ped&lt;br /&gt;
- Typically used together with [[natives.setBlockingOfNonTemporaryEvents]] and [[natives.taskPlayAnimWithFlags]] to override AI and force scripted animations&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|exampleJS = addCommandHandler(&amp;quot;setdm&amp;quot;, function(command, params, client) {&lt;br /&gt;
        natives.setCharDecisionMaker(ped, 4);&lt;br /&gt;
    }&lt;br /&gt;
});&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>ChrisGame20</name></author>
	</entry>
</feed>