RewardGP

From NWN Lexicon



Contents

[edit] RewardGP(int, object, int)

Gives gold as a reward to a player and possible their party members.

void RewardGP(
    int nGP,
    object oTarget,
    int bAllParty = TRUE
);

[edit] Parameters

nGP

The amount of gold to reward.

oTarget

The PC who will receive the gold.

bAllParty

Whether the whole party that oTarget is a member of will receive gold. (Default: TRUE)


[edit] Description

Gives nGP gold as a reward to oTarget and if bAllParty is TRUE their party members.



[edit] Remarks

This will give the same GP to all people who receive it. So if nGP is 50, and there are 3 PCs the total GP rewarded would be 150gp.


[edit] Requirements

#include " nw_i0_plot "

[edit] Version

1.22

[edit] See Also



 author: Tom Cassiotis, editors: Kolyana, Mistress
 

Personal tools
Categories