Skip to content

H7AiActionRecruitment

Class in MMH7Game · MMH7Game.H7AiActionRecruitment

Object › H7AiActionBase › H7AiActionRecruitment

Using it from Lua
h7.find_all("H7AiActionRecruitment")            -- live instances
h7.find_class("MMH7Game.H7AiActionRecruitment")   -- the class
h7.hook("MMH7Game.H7AiActionRecruitment.DebugName", fn)

Properties

NameTypeNotes
mURecruitmentScoreH7AiUtilityRecruitmentScoreprotected

Functions

NameDeclaration
DebugNamefunction string DebugName()
PerformActionTownfunction bool PerformActionTown(H7AreaOfControlSiteLord Site, AiActionScore Score)
RunScoresTownfunction RunScoresTown(H7AiAdventureSensors sensors, H7AreaOfControlSiteLord currentControlSite, out array<AiActionScore> scores, optional H7AdventureConfiguration cfg)
Setupfunction Setup()

Inherited

FromMembers
H7AiActionBaseProperties: mABID
Functions: DebugName, GetAdvActionID, PerformAction, PerformActionTown, RunScores, RunScoresAdv, RunScoresTown
Object13 properties, 308 functions