Difference between revisions of "UT HireFollower"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Adding link and formatting)
m (Adding Remarks section)
 
Line 13: Line 13:
 
|returndesc    =  
 
|returndesc    =  
 
|sourcefile    = utility_h
 
|sourcefile    = utility_h
|sourcemodule  = Core Game Resources
+
|sourcemodule  = Core Game Resources
 
}}
 
}}
 
 
== 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. -->
 +
Hire follower into the active party for oPC. This function will do nothing for plot followers.
  
Hire follower into the active party for oPC. This function will do nothing for plot followers, which are creatures with one of the tags defined by one of the following [[GEN_FL_*]] constants:
+
== Remarks ==
* GEN_FL_ALISTAIR
+
<!-- This section contains additional comments, observations and known issues. -->
* GEN_FL_DOG
+
Plot followers are the creatures with tags defined by the [[GEN_FL_*]] constants.
* GEN_FL_MORRIGAN
+
* GEN_FL_WYNNE
+
* GEN_FL_SHALE
+
* GEN_FL_STEN
+
* GEN_FL_ZEVRAN
+
* GEN_FL_OGHREN
+
* GEN_FL_LELIANA
+
* GEN_FL_LOGHAIN
+
  
<!-- == Remarks == -->
 
<!-- This section contains additional comments, observations and known issues. -->
 
 
<!-- == Examples == -->
 
<!-- == Examples == -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
<!-- This section contains examples transcluded from the snippet library. -->

Latest revision as of 12:16, 26 October 2014

Hire non-plot follower into the active party for oPC

void UT_HireFollower(
object oFollower,
int bPreventLevelup = FALSE
);
Parameters:
oFollower
The creature joining the party
bPreventLevelup
whether or not to prevent the follower from levelling up
Returns:

Nothing.

Source:

Core Game Resources.utility_h

Description

Hire follower into the active party for oPC. This function will do nothing for plot followers.

Remarks

Plot followers are the creatures with tags defined by the GEN_FL_* constants.

See also

UT_FireFollower