Difference between revisions of "IsHero"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fill in missing parameters)
 
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=IsHero
 
|name=IsHero
Line 5: Line 4:
 
|param1type=object
 
|param1type=object
 
|param1name=oCreature
 
|param1name=oCreature
|param1desc=
+
|param1desc=Creature to test for heroism
 
|returntype=int
 
|returntype=int
|returndesc=
+
|returndesc=True if the creature is the main character, false otherwise
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=

Latest revision as of 22:06, 11 February 2010

Returns true if the creature is the main character

int IsHero(
object oCreature
);
Parameters:
oCreature
Creature to test for heroism
Returns:

True if the creature is the main character, false otherwise

Source:

script.ldf