GiveGoldToAll(object, int)

Gives an amount of gold to each PC in a PC's party

void GiveGoldToAll(
    object oPC,
    int nGold
);

Parameters

oPC

Player Character

nGold

amount of gold for each PC


Description

Given a PC and a gold value, gives that amount to all PCs of a Player Character's party. None is given to associates.



Remarks

Include library for party-wide functions.

NOTE: this library is included in "x0_i0_common" already.
Do NOT dual-include both files or you will get errors!


Requirements

#include "X0_I0_PARTYWIDE"

Version

1.61

See Also

categories: Money Functions | Party Functions


 author: Peter Busby