Difference between revisions of "SetControllable"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fix up, remove tag)
 
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=SetControllable
 
|name=SetControllable
|brief=Set if the creature can be controlled by the user when they are in
+
|brief=Set if the creature can be controlled by the user when they are in the party.
 
|param1type=object
 
|param1type=object
 
|param1name=oFollower
 
|param1name=oFollower
|param1desc=
+
|param1desc=The creature whose state is to be sert
 
|param2type=int
 
|param2type=int
 
|param2name=nIsControllable
 
|param2name=nIsControllable
|param2desc=
+
|param2desc=Whether to make the creature controllable
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=
Line 17: Line 16:
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
the party.
+
 
If the primary controlled creature is set to uncontrollable, the next
+
If the primary controlled creature is set to uncontrollable, the next follower in the party will be set as the primary controlled creature.
follower in the party will be set as the primay controlled creature.
+
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Latest revision as of 18:43, 19 February 2010

Set if the creature can be controlled by the user when they are in the party.

void SetControllable(
object oFollower,
int nIsControllable
);
Parameters:
oFollower
The creature whose state is to be sert
nIsControllable
Whether to make the creature controllable
Returns:

Nothing.

Source:

script.ldf

Description

If the primary controlled creature is set to uncontrollable, the next follower in the party will be set as the primary controlled creature.