GameGreatPeople.GetPatronizeCost
# GameGreatPeople:GetPatronizeCost
this function is a member of GameGreatPeople this method expects an implicit “self” argument. invoke it with
:
# Usage
| UI | Script | Returns | Function | Arguments |
|---|---|---|---|---|
| ✓ | ✓ | GameGreatPeople:GetPatronizeCost | PlayerID [number]IndividualID [number]YieldType [number] |
# Notes
YieldType [number] corresponds to an entry in the YieldTypes global table, NOT the Index of the yield in the game database.
For instance, see this code sample:
pGreatPeople:GetPatronizeCost(displayPlayerID, entry.Individual, YieldTypes.GOLD)
# Parameters
PlayerID [number]IndividualID [number]- Corresponds to a an
IndexorHashcolumn in theGreatPersonIndividualstable
- Corresponds to a an
YieldType [number]- corresponds to an entry in the
YieldTypesglobal table
- corresponds to an entry in the