Difference between revisions of "AddCreatureMoney"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
m (remove generated)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=AddCreatureMoney
 
|name=AddCreatureMoney
Line 6: Line 5:
 
|param1name=nCoppers
 
|param1name=nCoppers
 
|param1desc=The amount to give, in copper pieces
 
|param1desc=The amount to give, in copper pieces
 +
|param1default=
 
|param2type=object
 
|param2type=object
 
|param2name=oCreature
 
|param2name=oCreature
 
|param2desc=The creature receiving the money
 
|param2desc=The creature receiving the money
 +
|param2default=OBJECT_SELF
 
|param3type=int
 
|param3type=int
 
|param3name=bNotify
 
|param3name=bNotify
 
|param3desc=Notify the player his money amount changed
 
|param3desc=Notify the player his money amount changed
 +
|param3default=TRUE
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=

Latest revision as of 22:05, 9 February 2010

Add money to a creature

void AddCreatureMoney(
int nCoppers,
object oCreature = OBJECT_SELF,
int bNotify = TRUE
);
Parameters:
nCoppers
The amount to give, in copper pieces
oCreature
The creature receiving the money
bNotify
Notify the player his money amount changed
Returns:

Nothing.

Source:

script.ldf

Description

Add money to a creature