GameGreatPeople:CreatePerson
this function is a member of GameGreatPeople this method expects an implicit “self” argument. invoke it with
:
Usage
UI | Script | Returns | Function | Arguments |
---|---|---|---|---|
✓ | GameGreatPeople:CreatePerson | PlayerID [number] IndividualID [number] X [number] Y [number] |
Notes
Creates the specified Great Person Individual. Units created this way will stack on the specified tile with no limit.
Great Person Recruitment history is not updated, and it does not seem to prevent the same Great Person Individual from being earned normally through gameplay. This contrasts with GameGreatPeople:GrantPerson which does.
Parameters
playerID [number]
IndividualID [number]
- Corresponds to a anIndex
orHash
column in theGreatPersonIndividuals
tableX [number]
Y [number]