GiveGoldToAllEqually(object, int)

Divides a given amount of gold equally among PCs in a PC's party

void GiveGoldToAllEqually(
    object oPC,
    int nGoldToDivide
);

Parameters

oPC

Player Character

nGoldToDivide

amount of gold to share


Description

Given a PC and a gold value, divides it equally among the PCs of the 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
 Send comments on this topic.